summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp10
1 files changed, 5 insertions, 5 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index c76b291..2052a99 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -1,9 +1,9 @@
# Firewall definitions for physical servers
class firewall(
- $local_net = hiera('firewall::local_net', false),
- $in_bandwidth = hiera('firewall::in_bandwidth', '2mbit'),
- $out_bandwidth = hiera('firewall::out_bandwidth', '2mbit'),
- $eth0_options = hiera('firewall::eth0_options', 'tcpflags,blacklist,routefilter,nosmurfs,logmartians')
+ $local_net = hiera('firewall::local_net', false),
+ $in_bandwidth = hiera('firewall::in_bandwidth', '2mbit'),
+ $out_bandwidth = hiera('firewall::out_bandwidth', '2mbit'),
+ $device_options = hiera('firewall::device_options', 'tcpflags,blacklist,routefilter,nosmurfs,logmartians')
) {
class { 'shorewall': }
@@ -19,7 +19,7 @@ class firewall(
shorewall::interface { 'eth0':
zone => '-',
rfc1918 => $rfc1918,
- options => $eth0_options,
+ options => $device_options,
}
#