Jay Benner
2014-Jun-24 18:01 UTC
[Puppet Users] report all nodes that do NOT have a certain class assigned to them
Seems like this should be easy, but I am having a tough time sorting it out. I am using PE 3.1 and I want to know which of my nodes are missing a certain class. Its pretty easy to get a list of the nodes that have the class in the console, but that still leaves a lot of math for me to do as I have thousands of nodes. The search inventory tool has something close with being able to search via fact presence or absence, but there doesn't seem to be a fact that corresponds to my class. Even if I distributed a fact with my class, that would only report for nodes that actually got the class, whereas I want hits on the fact's absence. Anyone solved this riddle already? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/e5187012-2753-42a1-9a56-6f0d4bacb252%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.