summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2017-01-13 18:23:39 +0100
committermh <mh@immerda.ch>2017-01-13 18:23:39 +0100
commitadd8f6677a21940cddd0f88396d6e1a152634f54 (patch)
treec784b49d1d165891c4c0ddb852dad591ae24088b /manifests
parent9e82e791f01a85c5ab25c5311ba962d2ca2c7b24 (diff)
parent24076ddaa5c802b503e59e279750ab5d6353815d (diff)
Merge remote-tracking branch 'github/master'
Diffstat (limited to 'manifests')
-rw-r--r--manifests/host.pp7
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}"
}
}
-