aboutsummaryrefslogtreecommitdiffstats
path: root/modules/shorewall
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2010-11-12 22:29:49 +0000
committerNicolas Vigier <boklm@mageia.org>2010-11-12 22:29:49 +0000
commit228a50276d7a7131e9e3bfdd496cc39bcff9b0d2 (patch)
tree1ffa2f5e672a138fcdff5a58a6d4ec4526973ee8 /modules/shorewall
parenta6617ba769b276ec1b55154b5a2feb038227d26d (diff)
downloadpuppet-228a50276d7a7131e9e3bfdd496cc39bcff9b0d2.tar
puppet-228a50276d7a7131e9e3bfdd496cc39bcff9b0d2.tar.gz
puppet-228a50276d7a7131e9e3bfdd496cc39bcff9b0d2.tar.bz2
puppet-228a50276d7a7131e9e3bfdd496cc39bcff9b0d2.tar.xz
puppet-228a50276d7a7131e9e3bfdd496cc39bcff9b0d2.zip
add newlines at end of added lines
Diffstat (limited to 'modules/shorewall')
-rw-r--r--modules/shorewall/manifests/init.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/shorewall/manifests/init.pp b/modules/shorewall/manifests/init.pp
index bbd4cf93..7c8e1f55 100644
--- a/modules/shorewall/manifests/init.pp
+++ b/modules/shorewall/manifests/init.pp
@@ -28,7 +28,7 @@ class shorewall {
shorewallfile{ rules: }
define rule_line($order = 50) {
$filename = "/tmp/shorewall/rules"
- $line = $name
+ $line = "${name}\n"
concat::fragment{"newline_${name}":
target => $filename,
order => $order,
@@ -55,7 +55,7 @@ class shorewall {
shorewallfile{ zones: }
define zone_line($order = 50) {
$filename = "/tmp/shorewall/zones"
- $line = $name
+ $line = "${name}\n"
concat::fragment{"newline_${name}":
target => $filename,
order => $order,
@@ -75,7 +75,7 @@ class shorewall {
shorewallfile{ policy: }
define policy_line($order = 50) {
$filename = "/tmp/shorewall/policy"
- $line = $name
+ $line = "${name}\n"
concat::fragment{"newline_${name}":
target => $filename,
order => $order,