aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-12-10 21:28:30 +0100
committermh <mh@immerda.ch>2009-12-10 21:28:30 +0100
commit3224ec6a9701b9e9dbeeda433456a980d7e03c1e (patch)
treede52f9075a22b4d8c159be7ab908e2e8abf40745
parentedb296154abd61b7621831c2d2f7c09362eefebd (diff)
downloadpuppet-shorewall-3224ec6a9701b9e9dbeeda433456a980d7e03c1e.tar.gz
puppet-shorewall-3224ec6a9701b9e9dbeeda433456a980d7e03c1e.tar.bz2
do we really need to quote the value?
-rw-r--r--manifests/debian.pp4
-rw-r--r--templates/debian_default.erb2
2 files changed, 3 insertions, 3 deletions
diff --git a/manifests/debian.pp b/manifests/debian.pp
index 4f9f337..dfa890f 100644
--- a/manifests/debian.pp
+++ b/manifests/debian.pp
@@ -1,10 +1,10 @@
class shorewall::debian inherits shorewall::base {
case $shorewall_startup {
- '': { $shorewall_startup = 1 }
+ '': { $shorewall_startup = "1" }
}
file{'/etc/default/shorewall':
#source => "puppet://$server/modules/shorewall/debian/default",
- content => template("shorewall/debian_default.erb"),
+ content => template("shorewall/debian_default.erb"),
require => Package['shorewall'],
notify => Service['shorewall'],
owner => root, group => 0, mode => 0644;
diff --git a/templates/debian_default.erb b/templates/debian_default.erb
index 1a76fd6..96621f5 100644
--- a/templates/debian_default.erb
+++ b/templates/debian_default.erb
@@ -3,7 +3,7 @@
# This file is brought to you by puppet
-<% if (shorewall_startup == "0" ) -%>
+<% if shorewall_startup == "0" -%>
startup=0
<% else -%>
startup=1