summaryrefslogtreecommitdiff
path: root/manifests/system.pp
diff options
context:
space:
mode:
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";