diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-01-07 11:55:41 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-01-07 11:55:41 -0200 |
commit | 8cd0cb475b00473caf0acc898caf2d7ef31d1da4 (patch) | |
tree | d7457427737a1ccf4fb68bc505d55bf91233d2ac | |
parent | 738c4c41f9d583ecb14abefd436c13ecaae65be5 (diff) | |
download | puppet-mail-8cd0cb475b00473caf0acc898caf2d7ef31d1da4.tar.gz puppet-mail-8cd0cb475b00473caf0acc898caf2d7ef31d1da4.tar.bz2 |
Managing wwsympa.conf
-rw-r--r-- | files/sympa/wwsympa.conf | 43 | ||||
-rw-r--r-- | manifests/sympa.pp | 9 |
2 files changed, 52 insertions, 0 deletions
diff --git a/files/sympa/wwsympa.conf b/files/sympa/wwsympa.conf new file mode 100644 index 0000000..eff2e97 --- /dev/null +++ b/files/sympa/wwsympa.conf @@ -0,0 +1,43 @@ +###\\\\ Directories and file location ////### + +## Where to store HTML archives +## Better if not in a critical partition +arc_path /var/lib/sympa/wwsarchive + +## Where to store bounces +## Better if not in a critical partition +bounce_path /var/spool/sympa/wwsbounce + +###\\\\ Syslog ////### + +###\\\\ General definition ////### + +###\\\\ Errors management ////### + +###\\\\ MTA related ////### + +###\\\\ Pluggin ////### + +## Path to MhOnarc mail2html pluggin +## This is required for HTML mail archiving +mhonarc /usr/bin/mhonarc + +###\\\\ S/MIME pluggin ////### + +###\\\\ Database ////### + +###\\\\ Web interface ////### + +## Is fast_cgi module for Apache (or Roxen) installed (0 | 1) +## This module provide much faster web interface +use_fast_cgi 1 + +## Title of main web page +title Mailing lists service + +## Main page type (lists | home) +#default_home lists + +## Default index organization (thrd | mail) +archive_default_index thrd + diff --git a/manifests/sympa.pp b/manifests/sympa.pp index fd65e7e..94c89ad 100644 --- a/manifests/sympa.pp +++ b/manifests/sympa.pp @@ -68,6 +68,15 @@ class mail::sympa( notify => Service['apache', 'sympa'], } + file { "/etc/sympa/wwsympa.conf": + ensure => present, + owner => sympa, + group => sympa, + mode => 0640, + source => "puppet:///modules/mail/sympa/wwsympa.conf", + notify => Service['apache', 'sympa'], + } + file { "/etc/dbconfig-common": ensure => directory, owner => root, |