Like Seth said, cookbook version data is not searchable.From a use case perspective, what is it about the cookbooks that you'd like to search on? Maybe there's another way of going about the problem you're trying to solve.For historical reference, the chef server used to index cookbook version information in Solr, but never exposed an API endpoint to search across that data. When the server was ported to Erlang, the cookbook indexing was removed (because it wasn't ever exposed).-StephenOn Thu, Jan 16, 2014 at 12:37 PM, Seth Falcon < " target="_blank"> > wrote:
cookbook version data is not indexed and so not searchable.
" target="_blank"> 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?
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.