]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Using sympa configuration just when using mail_sympa
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 24 Aug 2010 17:52:15 +0000 (14:52 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 24 Aug 2010 17:52:15 +0000 (14:52 -0300)
manifests/mail.pp

index dfcc8b12ba97068360831afbdd7046ce4685a746..339bb05bbbd44ee938b63ae05c984a17d2c0ea71 100644 (file)
@@ -3,9 +3,13 @@ class nodo::mail {
   $volatile_enabled = true
   $mail_delivery    = "postfix"
 
-  # Sympa configuration
-  $sympa_subdomain  = "listas"
-  $sympa_lang       = "pt_BR"
+  # Sympa mailing list manager
+  case $mail_sympa {
+    true: {
+      $sympa_subdomain  = "listas"
+      $sympa_lang       = "pt_BR"
+    }
+  }
 
   # Class inclusion
   include nodo::vserver