]> gitweb.fluxo.info Git - puppet-mail.git/commitdiff
Enabling override of postfix_mydestination
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 27 Aug 2010 19:37:40 +0000 (16:37 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 27 Aug 2010 19:37:40 +0000 (16:37 -0300)
manifests/system.pp

index e48f52e12bc014a70b586639e2ff7d347b129a84..5b08c835f58dfc257c52a8886c4de923944b965c 100644 (file)
@@ -4,7 +4,10 @@ class mail::system {
   $postfix_use_dovecot_lda = "yes"
   $postfix_use_schleuder   = "yes"
   $postfix_use_sympa       = "yes"
-  $postfix_mydestination   = '$myhostname, localhost.$mydomain, localhost'
+
+  case $postfix_mydestination {
+    '': { $postfix_mydestination = '$myhostname, localhost.$mydomain, localhost' }
+  }
 
   case $postfix_mynetworks {
     '': { $postfix_mynetworks = "127.0.0.0/8" }