]> gitweb.fluxo.info Git - puppet-mail.git/commitdiff
Managing wwsympa.conf
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 7 Jan 2014 13:55:41 +0000 (11:55 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 7 Jan 2014 13:55:41 +0000 (11:55 -0200)
files/sympa/wwsympa.conf [new file with mode: 0644]
manifests/sympa.pp

diff --git a/files/sympa/wwsympa.conf b/files/sympa/wwsympa.conf
new file mode 100644 (file)
index 0000000..eff2e97
--- /dev/null
@@ -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
+
index fd65e7ef6437cde69734ce2f9e662aa4f810fb4b..94c89add3d3cf88631b60deb734d0e5e05e4e625 100644 (file)
@@ -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,