[Puppet Users] Searching for Nodes

Brian Malinconico
Thu, 24 Jan 2013 15:55:33 -0000

Hello All,

I''m reviewing switching to puppet from chef and am trying to identify
how
to port the various features.

I have hit a stumbling block searching for nodes. In Chef i could search
for a node by role, but I am lost as how to do this with puppet and classes.

Example:
I want my load-balancing node  to look for all application server nodes and
grab their ip address (and hostname ideally).

I have setup PuppetDB, and have looked at
http://forge.puppetlabs.com/dalen/puppetdbquery but i am having trouble
crafting my queries.

Is there a way to view all available fields in PuppetDB? I am having
trouble getting the curl commands to work.

Brian

--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit