[chef] Re: knife search'ing for an inherited recipe?


Chronological Thread 
  • From: Daniel DeLeo < >
  • To:
  • Subject: [chef] Re: knife search'ing for an inherited recipe?
  • Date: Mon, 14 Oct 2013 13:21:25 -0700


On Monday, October 14, 2013 at 1:19 PM, Guy Matz wrote:

Hi!  Is there a way to "knife search node" for all of the nodes that have a specific recipe, regardless of which role has included the recipe in the run_list?

I have a recipe called bondage::dns that is in a few roles . . .  I've tried this, but it didn't work:
knife search node 'run_list:recipe\[bondage\:\:dns\]'

Any help would be greatly appreciated!

Thanks,
Guy
search for `recipes` with an 's'. This won't pick up recipes that get run via `include_recipe`, though.

-- 
Daniel DeLeo




Archive powered by MHonArc 2.6.16.

§