]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Always add the local zone
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 1 Feb 2013 00:55:54 +0000 (22:55 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 1 Feb 2013 00:55:54 +0000 (22:55 -0200)
manifests/subsystems/firewall.pp
manifests/subsystems/firewall/local.pp

index 161f632db601e6269b9787b1b9acabbab99b33eb..12e07294abfa701928f271019a2946200912fb06 100644 (file)
@@ -154,6 +154,11 @@ class firewall(
     order => '3',
   }
 
+  shorewall::zone { 'loc':
+    type  => 'ipv4',
+    order => 4,
+  }
+
   #
   # Traffic shapping
   #
index 7e23e290a7eda64fc5f2d5f9653775296a6d15fd..f17680edccc67b9b2362e968743ce87ca4d76554 100644 (file)
@@ -5,11 +5,6 @@ class firewall::local(
   $manage_interface = hiera('nodo::firewall::local::manage_iface', false)
 ) {
 
-  shorewall::zone { 'loc':
-    type  => 'ipv4',
-    order => 4,
-  }
-
   if $manage_host {
     shorewall::host { "$interface-loc":
       name    => "$interface:$network",