summaryrefslogtreecommitdiff
path: root/manifests
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 /manifests
parent11223262cc15864fe4215a6f251ed64954b7988b (diff)
downloadpuppet-mail-b113edea1ae00c54cf6a9cfdd32cf00b87d2a761.tar.gz
puppet-mail-b113edea1ae00c54cf6a9cfdd32cf00b87d2a761.tar.bz2
Get db data directly from hiera at dovecot
Diffstat (limited to 'manifests')
-rw-r--r--manifests/dovecot.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/manifests/dovecot.pp b/manifests/dovecot.pp
index c4f7b4b..3cb09b7 100644
--- a/manifests/dovecot.pp
+++ b/manifests/dovecot.pp
@@ -1,4 +1,10 @@
class mail::dovecot {
+
+ $database_user = hiera('postfixadmin_database_user', 'postfix'),
+ $database_host = hiera('postfixadmin_database_host', 'localhost'),
+ $database_name = hiera('postfixadmin_database_name', 'postfix'),
+ $database_password = hiera('postfixadmin_database_password', ''),
+
# Dovecot
service { "dovecot":
ensure => running,