summaryrefslogtreecommitdiff
path: root/manifests/sympa.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-05-23 14:50:48 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-05-23 14:50:48 -0300
commit2445bd4442e29fea85ba7f10ae5ef675490bc378 (patch)
treec02ec9663d6b7af318df1ba98715e96332734534 /manifests/sympa.pp
parent1d5e5998c60f2b2cf5d8b957a133ee89e363f4ef (diff)
downloadpuppet-mail-2445bd4442e29fea85ba7f10ae5ef675490bc378.tar.gz
puppet-mail-2445bd4442e29fea85ba7f10ae5ef675490bc378.tar.bz2
Managing /etc/dbconfig-common/sympa.conf
Diffstat (limited to 'manifests/sympa.pp')
-rw-r--r--manifests/sympa.pp16
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,