From 8cd0cb475b00473caf0acc898caf2d7ef31d1da4 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 7 Jan 2014 11:55:41 -0200 Subject: Managing wwsympa.conf --- files/sympa/wwsympa.conf | 43 +++++++++++++++++++++++++++++++++++++++++++ manifests/sympa.pp | 9 +++++++++ 2 files changed, 52 insertions(+) create mode 100644 files/sympa/wwsympa.conf 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, -- cgit v1.2.3