Skip to content

Commit cf49931

Browse files
author
Chris Barker
committed
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.
1 parent 2a8d7ac commit cf49931

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

manifests/init.pp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,5 @@
1414
# Requires: nothing
1515
#
1616
class stdlib {
17-
18-
class { 'stdlib::stages': }
19-
17+
include stdlib::stages
2018
}

0 commit comments

Comments
 (0)