Skip to content

Instantly share code, notes, and snippets.

@hlindberg
Created November 19, 2016 15:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hlindberg/c300d021fee43f13779a7d5217e20820 to your computer and use it in GitHub Desktop.
Save hlindberg/c300d021fee43f13779a7d5217e20820 to your computer and use it in GitHub Desktop.
example puppet nested naming equivalence and non nested names
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