summaryrefslogtreecommitdiff
path: root/manifests/puppetmasterd.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/puppetmasterd.pp')
-rw-r--r--manifests/puppetmasterd.pp9
1 files changed, 5 insertions, 4 deletions
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 {