How do you list nodes in a group inside rake?

asked 2013-12-05 10:38:07 -0500

Blakey gravatar image

I am using rake for accessing my dashboard nodes/groups. I can list all the nodes on my server:

rake node:list

I can list all the groups on my server:

rake nodegroup:list

Is there a way to list all the nodes for a given group? If not via rake, any other way from Dashboard but on the command line (so I can script it) ?

Cheers Blakey

edit retag flag offensive close merge delete


Did you try 'rake nodegroup:group_list[groupname]' ? Works for me on PE 3.1.

Richard Berwald gravatar imageRichard Berwald ( 2013-12-10 04:15:12 -0500 )edit

Hi Richard, Sorry for the late reply - haven't had a chance to look at this for ages. Thanks for the response. I tried what you said and it failed ...(more)

Blakey gravatar imageBlakey ( 2014-01-15 10:07:40 -0500 )edit