diff options
Diffstat (limited to 'manifests/dovecot.pp')
-rw-r--r-- | manifests/dovecot.pp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/manifests/dovecot.pp b/manifests/dovecot.pp index 4f9a226..2fda2fc 100644 --- a/manifests/dovecot.pp +++ b/manifests/dovecot.pp @@ -8,16 +8,18 @@ class mail::dovecot { file { "/etc/dovecot/dovecot.conf": ensure => present, owner => root, + group => root, mode => 0644, source => "puppet://$server/modules/mail/dovecot/dovecot.conf", notify => Service['dovecot'], } file { "/etc/dovecot/dovecot-sql.conf": - ensure => present, - owner => root, - mode => 0600, - source => "puppet://$server/modules/mail/dovecot/dovecot-sql.conf", - notify => Service['dovecot'], + ensure => present, + owner => root, + group => root, + mode => 0600, + content => template('dovecot/dovecot-sql.conf.erb'), + notify => Service['dovecot'], } } |