Created
November 19, 2016 15:24
-
-
Save hlindberg/c300d021fee43f13779a7d5217e20820 to your computer and use it in GitHub Desktop.
example puppet nested naming equivalence and non nested names
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a::x { | |
define b {} | |
} | |
should be written (as the 100% equivalent): | |
class a::x{ | |
} | |
define a::x::b { | |
} | |
if a nested name is wanted for b | |
and as: | |
class a::x{ | |
} | |
define a::b { | |
} | |
If the the wanted name of the "b" resource should be "a::b" instead of "a::x::b" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment