Hi Jay, Have you had a look at puppetdbquery?
https://forge.puppetlabs.com/dalen/puppetdbquery On 25 June 2014 04:01, Jay Benner <[email protected]> wrote: > 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 [email protected]. > 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. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAJ8DPF5Fej%2BOgyr7HXSRKy0sesJcoMP3pNyk89atdEy%2BobOZQw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
