[chef] Re: searching cookbook versions


Chronological Thread 
  • From: Seth Falcon < >
  • To:
  • Subject: [chef] Re: searching cookbook versions
  • Date: Thu, 16 Jan 2014 12:37:46 -0800



 writes:
> I must be missing something, but i can't seem to find a decent way of
> executing a knife search against a specific version of a cookbook. I've
> tried looking everywhere and can't seem to find anything related.
>
> Anybody have any ideas?

cookbook version data is not indexed and so not searchable.

One simple approach: use `knife download` to obtain a full set of all
cookbook versions (put `versioned_cookbooks true` in your
knife.rb). Then you can grep/ack, etc.

+ seth

-- 
Seth Falcon | Development Lead | CHEF | http://www.getchef.com/ ;| @sfalcon



Archive powered by MHonArc 2.6.16.

§