aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/policy.pp2
-rw-r--r--manifests/rule.pp2
-rw-r--r--manifests/rules/rsync.pp4
3 files changed, 4 insertions, 4 deletions
diff --git a/manifests/policy.pp b/manifests/policy.pp
index efee05b..0f7726b 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,
diff --git a/manifests/rules/rsync.pp b/manifests/rules/rsync.pp
index 144624d..a7887db 100644
--- a/manifests/rules/rsync.pp
+++ b/manifests/rules/rsync.pp
@@ -1,7 +1,7 @@
class shorewall::rules::rsync {
shorewall::rule{'me-net-rsync-tcp':
- source => '$FW',
- destination => 'net',
+ source => 'net',
+ destination => '$FW',
proto => 'tcp',
destinationport => '873',
order => 240,