diff options
Diffstat (limited to 'manifests')
| -rw-r--r-- | manifests/firewall.pp | 7 | 
1 files changed, 6 insertions, 1 deletions
| diff --git a/manifests/firewall.pp b/manifests/firewall.pp index 4c53772..6aea13d 100644 --- a/manifests/firewall.pp +++ b/manifests/firewall.pp @@ -120,12 +120,17 @@ class firewall {      order           => '103',    } +  $munin_port = $node_munin_port ? { +    ''      => "4900", +    default => "$node_munin_port", +  } +    shorewall::rule { "munin":      action          => 'ACCEPT',      source          => 'net',      destination     => '$FW',      proto           => 'tcp', -    destinationport => "4900", +    destinationport => "$munin_port",      ratelimit       => '-',      order           => "104",    } | 
