diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-08-05 18:41:09 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-08-05 18:41:09 -0300 |
commit | c783c4c439aa029f669eeff80788149a9dbe67fa (patch) | |
tree | 012ac94bf1a670cd9efc5b7205f7ffa5a581c80b /manifests/dovecot.pp | |
parent | dad5888cea24eb71cb58d0a260a208ba6e2d8073 (diff) | |
download | puppet-mail-c783c4c439aa029f669eeff80788149a9dbe67fa.tar.gz puppet-mail-c783c4c439aa029f669eeff80788149a9dbe67fa.tar.bz2 |
Postfixadmin and dovecot configuration
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'], } } |