summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-09-26 16:28:06 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-09-26 16:28:06 -0300
commitfd5e806d46b4f2f3501e3310061c6b5b11515fd8 (patch)
treeb016415e8dcc6b49dbc5eb571d055a35be2d964c
parent850c8c96d2f247629246af9ef4c4b345127dd614 (diff)
downloadpuppet-firewall-fd5e806d46b4f2f3501e3310061c6b5b11515fd8.tar.gz
puppet-firewall-fd5e806d46b4f2f3501e3310061c6b5b11515fd8.tar.bz2
Renaming eth0_options to device_options
-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,
}
#