summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-21 19:48:08 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-21 19:48:08 -0200
commitb113edea1ae00c54cf6a9cfdd32cf00b87d2a761 (patch)
tree9d1e1ec56f198d8c1703fbaa49ec60bdf666328f /templates
parent11223262cc15864fe4215a6f251ed64954b7988b (diff)
downloadpuppet-mail-b113edea1ae00c54cf6a9cfdd32cf00b87d2a761.tar.gz
puppet-mail-b113edea1ae00c54cf6a9cfdd32cf00b87d2a761.tar.bz2
Get db data directly from hiera at dovecot
Diffstat (limited to 'templates')
-rw-r--r--templates/dovecot/dovecot-sql.conf.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/dovecot/dovecot-sql.conf.erb b/templates/dovecot/dovecot-sql.conf.erb
index 37c41e5..1e93a2b 100644
--- a/templates/dovecot/dovecot-sql.conf.erb
+++ b/templates/dovecot/dovecot-sql.conf.erb
@@ -56,7 +56,7 @@ driver = mysql
# connect = /etc/dovecot/authdb.sqlite
#
#connect = dbname=virtual user=virtual
-connect = host=<%= scope.lookupvar('mail::postfixadmin::database_host') %> dbname=<%= scope.lookupvar('mail::postfixadmin::database_name') %> user=<%= scope.lookupvar('mail::postfixadmin::database_user') %> password=<%= scope.lookupvar('mail::postfixadmin::database_password') %>
+connect = host=<%= @database_host %> dbname=<%= @database_name %> user=<%= @database_user %> password=<%= @database_password %>
# Default password scheme.
#