Skip to content

Commit

Permalink
uses include type class declaration
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Chris Barker committed Apr 20, 2015
1 parent 2a8d7ac commit cf49931
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,5 @@
# Requires: nothing
#
class stdlib {

class { 'stdlib::stages': }

include stdlib::stages
}

0 comments on commit cf49931

Please sign in to comment.