summaryrefslogtreecommitdiff
path: root/manifests/system.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-08-11 23:18:19 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-08-11 23:18:19 -0300
commite22ccea7c79f1a43db3e9542228986d4e2eb847f (patch)
tree73d913437f5a154ba7acb1782a68d42b7c71c44b /manifests/system.pp
parent60f6c76181ce20aa188df30d1b425f12a987c75c (diff)
downloadpuppet-mail-e22ccea7c79f1a43db3e9542228986d4e2eb847f.tar.gz
puppet-mail-e22ccea7c79f1a43db3e9542228986d4e2eb847f.tar.bz2
Initial sympa configuration
Diffstat (limited to 'manifests/system.pp')
-rw-r--r--manifests/system.pp18
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";