diff options
author | mh <mh@immerda.ch> | 2009-12-10 21:28:30 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2009-12-10 21:28:30 +0100 |
commit | 3224ec6a9701b9e9dbeeda433456a980d7e03c1e (patch) | |
tree | de52f9075a22b4d8c159be7ab908e2e8abf40745 | |
parent | edb296154abd61b7621831c2d2f7c09362eefebd (diff) | |
download | puppet-shorewall-3224ec6a9701b9e9dbeeda433456a980d7e03c1e.tar.gz puppet-shorewall-3224ec6a9701b9e9dbeeda433456a980d7e03c1e.tar.bz2 |
do we really need to quote the value?
-rw-r--r-- | manifests/debian.pp | 4 | ||||
-rw-r--r-- | templates/debian_default.erb | 2 |
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 |