Is there an way to get the top level classes included in a puppet node?
- by pwan
Is there an easy way to return the top level classes applied to a node. By this I mean the classes included in a node definition or ENC equivalent For example with the sample node below, I'd like to return 'return::me' and 'return::me2' for somehost, but not 'dontreturn::me'
class return::me {
include dontreturn::me
}
node "somehost" {
…