summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2012-10-08 23:52:50 +0200
committervarac <varacanero@zeromail.org>2012-10-08 23:52:50 +0200
commitcf2f7703b615dd4568beeebea59f514a20cf169a (patch)
treeb9b0a99c8942d460b837a417dab6e28c80c5f0c7
parent7f40d1b15e84416bd56e8b6ffbc8e09cda859c87 (diff)
cleaned defaults.pp
-rw-r--r--puppet/modules/site_shorewall/manifests/defaults.pp11
1 files changed, 1 insertions, 10 deletions
diff --git a/puppet/modules/site_shorewall/manifests/defaults.pp b/puppet/modules/site_shorewall/manifests/defaults.pp
index cfe7bae2..c68b8370 100644
--- a/puppet/modules/site_shorewall/manifests/defaults.pp
+++ b/puppet/modules/site_shorewall/manifests/defaults.pp
@@ -10,17 +10,8 @@ class site_shorewall::defaults {
shorewall::rule_section { 'NEW': order => 10; }
- case $shorewall_rfc1918_maineth {
- '': {$shorewall_rfc1918_maineth = true }
- }
-
- case $shorewall_main_interface {
- '': { $shorewall_main_interface = 'eth0' }
- }
-
- shorewall::interface {$shorewall_main_interface:
+ shorewall::interface {'eth0':
zone => 'net',
- rfc1918 => $shorewall_rfc1918_maineth,
options => 'tcpflags,blacklist,nosmurfs';
}
}