From: mh Date: Thu, 10 Dec 2009 17:13:29 +0000 (+0100) Subject: initialize variable if not set X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=1332fd3e9d340441bd36c9cd617d350b0497ad59;p=puppet-shorewall.git initialize variable if not set --- diff --git a/manifests/debian.pp b/manifests/debian.pp index d2ba35d..4f9f337 100644 --- a/manifests/debian.pp +++ b/manifests/debian.pp @@ -1,4 +1,7 @@ class shorewall::debian inherits shorewall::base { + case $shorewall_startup { + '': { $shorewall_startup = 1 } + } file{'/etc/default/shorewall': #source => "puppet://$server/modules/shorewall/debian/default", content => template("shorewall/debian_default.erb"),