summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-07-11 22:28:27 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-07-11 22:28:27 -0300
commit1dd66761a9c71baf9a5164b23018efe7f4c94bf4 (patch)
treed0d55069b4e1b698a2acf7656abeec83c4d06dd5
parent62ebc9ed60fe61a355b554fac3f725e8ca666db9 (diff)
downloadpuppet-firewall-1dd66761a9c71baf9a5164b23018efe7f4c94bf4.tar.gz
puppet-firewall-1dd66761a9c71baf9a5164b23018efe7f4c94bf4.tar.bz2
Do not open munin port by default
-rw-r--r--manifests/init.pp28
1 files changed, 14 insertions, 14 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index a35c89f..c3ebe34 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -178,20 +178,20 @@ 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 => "$munin_port",
- ratelimit => '-',
- order => 104,
- }
+ #$munin_port = $node_munin_port ? {
+ # '' => "4900",
+ # default => "$node_munin_port",
+ #}
+
+ #shorewall::rule { "munin":
+ # action => 'ACCEPT',
+ # source => 'net',
+ # destination => '$FW',
+ # proto => 'tcp',
+ # destinationport => "$munin_port",
+ # ratelimit => '-',
+ # order => 104,
+ #}
if $local_net == true {
class { "firewall::local": }