From 3224ec6a9701b9e9dbeeda433456a980d7e03c1e Mon Sep 17 00:00:00 2001 From: mh Date: Thu, 10 Dec 2009 21:28:30 +0100 Subject: do we really need to quote the value? --- manifests/debian.pp | 4 ++-- 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 -- cgit v1.2.3