From 2b26da1218014f87d0c7acddf0b9e0105e8121df Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 3 Jan 2010 20:41:02 -0200 Subject: Fixing variable scope issue --- manifests/puppetmasterd.pp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'manifests/puppetmasterd.pp') 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 { -- cgit v1.2.3