[chef] Re: Extracting the nodes in an environment that contain a particular cookbook


Chronological Thread 
  • From: Ranjib Dey < >
  • To:
  • Subject: [chef] Re: Extracting the nodes in an environment that contain a particular cookbook
  • Date: Tue, 15 Sep 2015 12:55:15 -0700

search(:node, 'recipes:foo AND chef_environment: bar)

On Sep 15, 2015 11:05 AM, "ANGELA EBIRIM" < "> > wrote:
Hello,

I'm hoping that someone could assist me.

I've got a situation in that I'm trying to find the nodes in an environment that contain a particular cookbook in it's run list.

How would I do this without using knife? I'm going to put it into a recipe.

Many thanks






Sent from iCloud



Archive powered by MHonArc 2.6.16.

§