Hi, take a look at this :). It should do exactly what you want. https://github.com/dalen/puppet-puppetdbquery
-- Nikola On Thu, Nov 21, 2013 at 02:15:15PM -0800, JamieC wrote: > I'm looking of a way to create an array of IPs of puppet clients which are > currently assigned a certain class\module. > > Would anyone be able to tell me if this would be possible and if so, point > me in the right direction of implementing it? I'm using puppetdb so assume > the details could be pulled from there somehow? Or perhaps directly from > the latest catalog? > > Thank you in advanced. > > -- > 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/d1d00195-4368-4e1a-97f8-1ed35b9708f8%40googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. -- 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/20131122143021.GA9003%40nikolavp-desktop. For more options, visit https://groups.google.com/groups/opt_out.
