Ask Your Question

Can I query REST API to get list of groups?

asked 2014-08-31 09:32:18 -0500

Jamie gravatar image

Like the title says. I'd like to make a REST API query to the puppet master node to get the list of groups, and then query the details of each group to get the list of nodes under it.

Is this possible?

Alternatively, is it possible via the PuppetDB API?

edit retag flag offensive close merge delete


The puppetmaster doesn't know anything about groups. Are you talking about puppet dashboard or the pe console?

lavaman gravatar imagelavaman ( 2014-09-02 17:18:54 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-07-23 23:50:10 -0500

binford2k gravatar image

Assuming you are referring to groups in the PE Console, you should use the puppetclassify ruby gem for this.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2014-08-31 09:32:18 -0500

Seen: 242 times

Last updated: Jul 23