diff options
-rw-r--r-- | manifests/init.pp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 7543d1a..52dd6e1 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -72,11 +72,13 @@ class firewall( order => '1', } - shorewall::host { "${device}": - name => "${device}:0.0.0.0/0", - zone => 'net', - options => '', - order => '2', + if $zone == '-' { + shorewall::host { "${device}": + name => "${device}:0.0.0.0/0", + zone => 'net', + options => '', + order => '2', + } } shorewall::masq { "${device}": |