]> gitweb.fluxo.info Git - puppet-firewall.git/commitdiff
Do not open munin port by default
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 12 Jul 2016 01:28:27 +0000 (22:28 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 12 Jul 2016 01:28:27 +0000 (22:28 -0300)
manifests/init.pp

index a35c89f27591607df9406e7f497e64ced03297b7..c3ebe3479b04d32d1b9b60f950fb24abc7878953 100644 (file)
@@ -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": }