summaryrefslogtreecommitdiff
path: root/manifests/system.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-08-27 16:37:40 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-08-27 16:37:40 -0300
commit54b0b38ac1d2a498f6426b085b7b0c4dad31f5a8 (patch)
tree481e6cfacbfa0299523b077bfea0f86582ad7bc6 /manifests/system.pp
parent77ac0f1d65ba76911d684eeee9cf4bddd294b47e (diff)
downloadpuppet-mail-54b0b38ac1d2a498f6426b085b7b0c4dad31f5a8.tar.gz
puppet-mail-54b0b38ac1d2a498f6426b085b7b0c4dad31f5a8.tar.bz2
Enabling override of postfix_mydestination
Diffstat (limited to 'manifests/system.pp')
-rw-r--r--manifests/system.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/system.pp b/manifests/system.pp
index e48f52e..5b08c83 100644
--- a/manifests/system.pp
+++ b/manifests/system.pp
@@ -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" }