diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-08-08 18:17:13 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-08-08 18:17:13 -0300 |
commit | 14578908360176f37b847f0c9bb90d6b6a358032 (patch) | |
tree | 1211da8c8e442326c2dc32bee9fb788cd9ab5b9c /manifests | |
parent | 05f35dc96c80a7039c3e015f02ad61f83e3008d4 (diff) | |
download | puppet-mail-14578908360176f37b847f0c9bb90d6b6a358032.tar.gz puppet-mail-14578908360176f37b847f0c9bb90d6b6a358032.tar.bz2 |
Moving dovecot.conf to a template
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/dovecot.pp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/manifests/dovecot.pp b/manifests/dovecot.pp index 0ced8e1..20364fe 100644 --- a/manifests/dovecot.pp +++ b/manifests/dovecot.pp @@ -6,12 +6,12 @@ class mail::dovecot { } file { "/etc/dovecot/dovecot.conf": - ensure => present, - owner => root, - group => vmail, - mode => 0644, - source => "puppet://$server/modules/mail/dovecot/dovecot.conf", - notify => Service['dovecot'], + ensure => present, + owner => root, + group => vmail, + mode => 0644, + content => template('mail/dovecot/dovecot.conf.erb'), + notify => Service['dovecot'], } file { "/etc/dovecot/dovecot-sql.conf": |