diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-05-23 14:50:48 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-05-23 14:50:48 -0300 |
commit | 2445bd4442e29fea85ba7f10ae5ef675490bc378 (patch) | |
tree | c02ec9663d6b7af318df1ba98715e96332734534 /manifests | |
parent | 1d5e5998c60f2b2cf5d8b957a133ee89e363f4ef (diff) | |
download | puppet-mail-2445bd4442e29fea85ba7f10ae5ef675490bc378.tar.gz puppet-mail-2445bd4442e29fea85ba7f10ae5ef675490bc378.tar.bz2 |
Managing /etc/dbconfig-common/sympa.conf
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/sympa.pp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/manifests/sympa.pp b/manifests/sympa.pp index d73f2bb..d916d51 100644 --- a/manifests/sympa.pp +++ b/manifests/sympa.pp @@ -75,6 +75,22 @@ class mail::sympa { notify => Service['apache', 'sympa'], } + file { "/etc/dbconfig-common": + ensure => directory, + owner => root, + group => root, + mode => 0755, + } + + file { "/etc/dbconfig-common/sympa.conf": + ensure => present, + owner => root, + group => root, + mode => 0600, + content => template("mail/sympa/dbconfig-common.${lsbdistcodename}.erb"), + require => File['/etc/dbconfig-common'], + } + file { "/etc/logrotate.d/sympa": ensure => present, owner => root, |