summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--files/sympa/wwsympa.conf43
-rw-r--r--manifests/sympa.pp9
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,