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 
https://groups.google.com/d/msg/puppet-users/-/VdriPPbBR90J.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to