[chef] searching with chef


Chronological Thread 
  • From: Maven User < >
  • To: chef < >
  • Subject: [chef] searching with chef
  • Date: Mon, 4 Mar 2013 18:08:45 -0500

Hi guys -

I'm struggling a bit with searching within chef...

I'm trying to select all nodes that have a given role in a particular environment.

I realize I can do something like:

knife search node "roles:<rolename>" -E <environmentname>

But how do I get things like the ip address from that object?



Archive powered by MHonArc 2.6.16.

§