aboutsummaryrefslogtreecommitdiff
path: root/manifests/classes/postfix.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/classes/postfix.pp')
-rw-r--r--manifests/classes/postfix.pp10
1 files changed, 8 insertions, 2 deletions
diff --git a/manifests/classes/postfix.pp b/manifests/classes/postfix.pp
index 4e9cd6f..63a50b9 100644
--- a/manifests/classes/postfix.pp
+++ b/manifests/classes/postfix.pp
@@ -64,6 +64,12 @@ class postfix {
case $postfix_mastercf_tail {
"": { $postfix_mastercf_tail = "" }
}
+ case $postfix_inet_interfaces {
+ "": { $postfix_inet_interfaces = 'all' }
+ }
+ case $postfix_myorigin {
+ "": { $postfix_myorigin = $fqdn }
+ }
# Bootstrap moduledir
include common::moduledir
@@ -151,9 +157,9 @@ class postfix {
# Default configuration parameters
postfix::config {
- "myorigin": value => "${fqdn}";
+ "myorigin": value => "${postfix_myorigin}";
"alias_maps": value => "hash:/etc/aliases";
- "inet_interfaces": value => "all";
+ "inet_interfaces": value => "${postfix_inet_interfaces}";
}
case $operatingsystem {