summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorChris Barker <cbarker@puppetlabs.com>2015-04-20 10:06:00 -0700
committerChris Barker <cbarker@puppetlabs.com>2015-04-20 10:06:00 -0700
commitcf499315c1cc693679e4b1c1609d989d32451b94 (patch)
tree930af56e4b7fa790a82fd2cff1421324bd8da8cd /manifests
parent2a8d7acd7e8ce84826cb8293308721fe7b4095ea (diff)
uses include type class declaration
previous behavior used class { 'stdlib::stages':} which isn't singleton and could cause duplication resource declaration on the stages class. Since many community modules work by calling 'include stdlib' we should make stdlib's include of stages singleton as well.
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp4
1 files changed, 1 insertions, 3 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 500ad77..87ea975 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -14,7 +14,5 @@
# Requires: nothing
#
class stdlib {
-
- class { 'stdlib::stages': }
-
+ include stdlib::stages
}