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.
This commit is contained in:
parent
2a8d7acd7e
commit
cf499315c1
1 changed files with 1 additions and 3 deletions
|
@ -14,7 +14,5 @@
|
|||
# Requires: nothing
|
||||
#
|
||||
class stdlib {
|
||||
|
||||
class { 'stdlib::stages': }
|
||||
|
||||
include stdlib::stages
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue