diff options
author | Chris Barker <cbarker@puppetlabs.com> | 2015-04-20 10:06:00 -0700 |
---|---|---|
committer | Chris Barker <cbarker@puppetlabs.com> | 2015-04-20 10:06:00 -0700 |
commit | cf499315c1cc693679e4b1c1609d989d32451b94 (patch) | |
tree | 930af56e4b7fa790a82fd2cff1421324bd8da8cd | |
parent | 2a8d7acd7e8ce84826cb8293308721fe7b4095ea (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.
-rw-r--r-- | manifests/init.pp | 4 |
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 } |