aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/firewall
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystems/firewall')
-rw-r--r--manifests/subsystems/firewall/local.pp9
1 files changed, 5 insertions, 4 deletions
diff --git a/manifests/subsystems/firewall/local.pp b/manifests/subsystems/firewall/local.pp
index ee82563..7e23e29 100644
--- a/manifests/subsystems/firewall/local.pp
+++ b/manifests/subsystems/firewall/local.pp
@@ -5,6 +5,11 @@ 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",
@@ -44,8 +49,4 @@ class firewall::local(
order => 7,
}
- shorewall::zone { 'loc':
- type => 'ipv4',
- order => 4,
- }
}