From: Silvio Rhatto Date: Sun, 3 Jan 2010 22:41:02 +0000 (-0200) Subject: Fixing variable scope issue X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=2b26da1218014f87d0c7acddf0b9e0105e8121df;p=puppet-puppet.git Fixing variable scope issue --- diff --git a/manifests/puppetmasterd.pp b/manifests/puppetmasterd.pp index bdda61c..411f908 100644 --- a/manifests/puppetmasterd.pp +++ b/manifests/puppetmasterd.pp @@ -1,9 +1,10 @@ # handles puppetmasterd service +class puppetmasterd { + # warns that this node has a puppetmaster + $puppetmasterd_present = true -# warns that this node has a puppetmaster -$puppetmasterd_present = true - -class puppetmasterd inherits puppet { + # then include puppet class + include puppet # needed packages package {