From: mh Date: Thu, 10 Dec 2009 20:28:30 +0000 (+0100) Subject: do we really need to quote the value? X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=3224ec6a9701b9e9dbeeda433456a980d7e03c1e;p=puppet-shorewall.git do we really need to quote the value? --- 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