Create array from node facts

54 views
Skip to first unread message

JamieC

unread,
Nov 21, 2013, 5:15:15 PM11/21/13
to puppet...@googlegroups.com
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.

Nikola Petrov

unread,
Nov 22, 2013, 9:30:21 AM11/22/13
to puppet...@googlegroups.com
Hi, take a look at this :). It should do exactly what you want.
https://github.com/dalen/puppet-puppetdbquery

--
Nikola
> --
> 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...@googlegroups.com.
> 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.
Reply all
Reply to author
Forward
0 new messages