diff options
author | duritong <peter.meier+github@immerda.ch> | 2017-01-12 15:47:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-12 15:47:48 +0100 |
commit | 07f4d8f14ac5224ba900d27f51cd4ae8121f1578 (patch) | |
tree | 8b66aeaf3df3be46ca603fc081d8293bc2114a35 /manifests/host.pp | |
parent | 78b2f91caf4c7ade2630376c9c326773fdd5ef3c (diff) | |
parent | 24076ddaa5c802b503e59e279750ab5d6353815d (diff) |
Merge branch 'master' into master
Diffstat (limited to 'manifests/host.pp')
-rw-r--r-- | manifests/host.pp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/manifests/host.pp b/manifests/host.pp index f400223..d2a73ce 100644 --- a/manifests/host.pp +++ b/manifests/host.pp @@ -1,10 +1,11 @@ define shorewall::host( $zone, + $host = $name, $options = 'tcpflags,blacklist,norfc1918', - $order='100' + $order ='100' ){ + shorewall::entry{"hosts-${order}-${name}": - line => "${zone} ${name} ${options}" + line => "#${name}\n${zone} ${host} ${options}" } } - |