summaryrefslogtreecommitdiff
path: root/manifests/sympa.pp
diff options
context:
space:
mode:
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,