From e22ccea7c79f1a43db3e9542228986d4e2eb847f Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 11 Aug 2010 23:18:19 -0300 Subject: Initial sympa configuration --- manifests/system.pp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'manifests/system.pp') diff --git a/manifests/system.pp b/manifests/system.pp index 9338f86..86781ad 100644 --- a/manifests/system.pp +++ b/manifests/system.pp @@ -46,6 +46,24 @@ class mail::system { include mail::postfixadmin include mail::web + # Mailing list manager + case $mail_sympa { + true: { + + case $sympa_database_password { + '': { fail("You need to define \$sympa_database_password host config") } + } + + case $sympa_database_name { + '': { $sympa_database_name= "sympa" } + } + + include mail::sympa + include mail::web::sympa + include mail::packages::sympa + } + } + # Postfix configuration postfix::config { "mydomain": value => "$domain"; -- cgit v1.2.3