diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-08-11 23:18:19 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-08-11 23:18:19 -0300 |
commit | e22ccea7c79f1a43db3e9542228986d4e2eb847f (patch) | |
tree | 73d913437f5a154ba7acb1782a68d42b7c71c44b /manifests/system.pp | |
parent | 60f6c76181ce20aa188df30d1b425f12a987c75c (diff) | |
download | puppet-mail-e22ccea7c79f1a43db3e9542228986d4e2eb847f.tar.gz puppet-mail-e22ccea7c79f1a43db3e9542228986d4e2eb847f.tar.bz2 |
Initial sympa configuration
Diffstat (limited to 'manifests/system.pp')
-rw-r--r-- | manifests/system.pp | 18 |
1 files changed, 18 insertions, 0 deletions
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"; |