From: Chris Barker Date: Mon, 20 Apr 2015 17:06:00 +0000 (-0700) Subject: uses include type class declaration X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=cf499315c1cc693679e4b1c1609d989d32451b94;p=puppet-stdlib.git 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. --- 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 }