diff options
author | Gabriel Filion <lelutin@gmail.com> | 2011-08-29 00:47:40 -0400 |
---|---|---|
committer | Gabriel Filion <lelutin@gmail.com> | 2011-09-11 04:23:26 -0400 |
commit | 3e56ee36c3fcce581ba476dda07a81d3ac2ae737 (patch) | |
tree | e7b12df6da5d9b426c627270fc58d81027f602f4 | |
parent | a1a1b11d8d58516f29c24066279d368c8ef79cc9 (diff) | |
download | puppet-postfix-3e56ee36c3fcce581ba476dda07a81d3ac2ae737.tar.gz puppet-postfix-3e56ee36c3fcce581ba476dda07a81d3ac2ae737.tar.bz2 |
Parametrize value of inet_interfaces
We don't always want to have postfix listen to all interfaces.
Since the config generally defaults to listening on all interfaces, make
that the default value.
Signed-off-by: Gabriel Filion <lelutin@gmail.com>
-rw-r--r-- | manifests/classes/postfix.pp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/classes/postfix.pp b/manifests/classes/postfix.pp index 4e9cd6f..c6eeeea 100644 --- a/manifests/classes/postfix.pp +++ b/manifests/classes/postfix.pp @@ -64,6 +64,9 @@ class postfix { case $postfix_mastercf_tail { "": { $postfix_mastercf_tail = "" } } + case $postfix_inet_interfaces { + "": { $postfix_inet_interfaces = 'all' } + } # Bootstrap moduledir include common::moduledir @@ -153,7 +156,7 @@ class postfix { postfix::config { "myorigin": value => "${fqdn}"; "alias_maps": value => "hash:/etc/aliases"; - "inet_interfaces": value => "all"; + "inet_interfaces": value => "${postfix_inet_interfaces}"; } case $operatingsystem { |