aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authoram <am@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2007-11-27 08:12:41 +0000
committeram <am@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2007-11-27 08:12:41 +0000
commitd73403fc6d4c8b78f7bc7682a8487518a96c69c0 (patch)
treed6a88c13c6e016097165a9386bd740cbd5a88b15 /manifests
parent3a63fcc11683681408ff9955a97e76c0671d3e7b (diff)
downloadpuppet-shorewall-d73403fc6d4c8b78f7bc7682a8487518a96c69c0.tar.gz
puppet-shorewall-d73403fc6d4c8b78f7bc7682a8487518a96c69c0.tar.bz2
more comment for rules and masq
git-svn-id: https://svn/ipuppet/trunk/modules/shorewall@122 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 16628dc..a766b23 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -133,7 +133,7 @@ class shorewall {
$ratelimit = '-', $user = '-', $mark = '', $order)
{
entry { "rules.d/${order}-${name}":
- line => "${action} ${source} ${destination} ${proto} ${destinationport} ${sourceport} ${originaldest} ${ratelimit} ${user} ${mark}",
+ line => "# ${name}\n${action} ${source} ${destination} ${proto} ${destinationport} ${sourceport} ${originaldest} ${ratelimit} ${user} ${mark}",
}
}
@@ -144,7 +144,7 @@ class shorewall {
# address = If you specify an address here, SNAT will be used and this will be the source address.
define masq($interface, $source, $address = '-', $proto = '-', $port = '-', $ipsec = '-', $mark = '', $order='100' ) {
entry { "masq.d/${order}-${name}":
- line => "${interface} ${source} ${address} ${proto} ${port} ${ipsec} ${mark}"
+ line => "# ${name}\n${interface} ${source} ${address} ${proto} ${port} ${ipsec} ${mark}"
}
}
@@ -152,7 +152,7 @@ class shorewall {
managed_file { proxyarp: }
define proxyarp($interface, $external, $haveroute = yes, $persistent = no, $order='100') {
entry { "proxyarp.d/${order}-${name}":
- line => "${name} ${interface} ${external} ${haveroute} ${persistent}"
+ line => "# ${name}\n${name} ${interface} ${external} ${haveroute} ${persistent}"
}
}