]> gitweb.fluxo.info Git - puppet-firewall.git/commitdiff
Always create vm-fw policy
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 9 Jun 2016 19:30:47 +0000 (16:30 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 9 Jun 2016 19:30:47 +0000 (16:30 -0300)
manifests/init.pp

index 1734c3f2f3afa448d48f8ad349ad8ead7522d73e..a35c89f27591607df9406e7f497e64ced03297b7 100644 (file)
@@ -103,13 +103,11 @@ class firewall(
     order           => 3,
   }
 
-  if $vm_device != false {
-    shorewall::policy { 'vm-fw':
-      sourcezone      => 'vm',
-      destinationzone => '$FW',
-      policy          => 'ACCEPT',
-      order           => 4,
-    }
+  shorewall::policy { 'vm-fw':
+    sourcezone      => 'vm',
+    destinationzone => '$FW',
+    policy          => 'ACCEPT',
+    order           => 4,
   }
 
   shorewall::policy { 'net-all':