Can I make Puppet's module-to-file mapping to start searching at the top of the modules tree?
- by John Siracusa
Consider these two Puppet module files:
# File modules/a/manifests/b/c.pp
class a::b::c {
include b::c
}
# File modules/b/manifests/c.pp
class b::c {
notify { "In b::c": }
}
It seems that when Puppet hits the include b::c directive in class a::b::c, it searches for the corresponding *.pp file by looking backwards from the current class…