aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-18 16:28:47 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-18 16:28:47 -0200
commit2b78f5586fab7e8002a9b7b3ce6db35e83d50754 (patch)
tree27f017c9c68d250aaef17156ecc6b87465085e03
parent00783476d162088eaf7a15a287316c2233ae5465 (diff)
downloadpuppet-shorewall-2b78f5586fab7e8002a9b7b3ce6db35e83d50754.tar.gz
puppet-shorewall-2b78f5586fab7e8002a9b7b3ce6db35e83d50754.tar.bz2
Default order fo shorewall::rule and shorewall::policy --config
-rw-r--r--manifests/policy.pp2
-rw-r--r--manifests/rule.pp2
2 files changed, 2 insertions, 2 deletions
diff --git a/manifests/policy.pp b/manifests/policy.pp
index efee05b..48dfe6e 100644
--- a/manifests/policy.pp
+++ b/manifests/policy.pp
@@ -3,7 +3,7 @@ define shorewall::policy(
$destinationzone,
$policy, $shloglevel = '-',
$limitburst = '-',
- $order
+ $order = '100',
){
shorewall::entry{"policy-${order}-${name}":
line => "# ${name}\n${sourcezone} ${destinationzone} ${policy} ${shloglevel} ${limitburst}",
diff --git a/manifests/rule.pp b/manifests/rule.pp
index 2fe91e2..449ccf1 100644
--- a/manifests/rule.pp
+++ b/manifests/rule.pp
@@ -11,7 +11,7 @@ define shorewall::rule(
$ratelimit = '-',
$user = '-',
$mark = '',
- $order
+ $order = '100'
){
shorewall::entry{"rules-${order}-${name}":
ensure => $ensure,