summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-06-09 16:30:47 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-06-09 16:30:47 -0300
commit880f1beca453754a14ade7ee0e2dc2af0fb71abb (patch)
tree9fd06876c830547fa5acf8e5136ff117cf558dc4
parent86cf44e9a8dfa897f3438c9fbaff5e3fa18dec0e (diff)
downloadpuppet-firewall-880f1beca453754a14ade7ee0e2dc2af0fb71abb.tar.gz
puppet-firewall-880f1beca453754a14ade7ee0e2dc2af0fb71abb.tar.bz2
Always create vm-fw policy
-rw-r--r--manifests/init.pp12
1 files changed, 5 insertions, 7 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 1734c3f..a35c89f 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -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':