summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/host.pp6
1 files changed, 1 insertions, 5 deletions
diff --git a/manifests/host.pp b/manifests/host.pp
index 1bd56cc..d2a73ce 100644
--- a/manifests/host.pp
+++ b/manifests/host.pp
@@ -1,13 +1,9 @@
define shorewall::host(
$zone,
- $host = undef,
+ $host = $name,
$options = 'tcpflags,blacklist,norfc1918',
$order ='100'
){
-
- unless $host == undef {
- $host = $name
- }
shorewall::entry{"hosts-${order}-${name}":
line => "#${name}\n${zone} ${host} ${options}"