- From: "Julian C. Dunn" <
>
- To:
- Subject: [chef] Re: Re: Re: Re: Re: Re: searching cookbook versions
- Date: Fri, 17 Jan 2014 00:42:20 -0500
You may be able to adapt/abuse the cookbook_versions_handler to save the cookbook versions to the node itself where they would be searchable:
- Julian
On Jan 16, 2014, at 8:41 PM, Elvin Abordo <
">
> wrote:
heh. ever since i passed 1k nodes. knife ssh doesnt scale very well.
that is a creative suggestion though. might have to work with that. thanks!
On Thu, Jan 16, 2014 at 8:38 PM, Stephen Delano <
" target="_blank">
> wrote:
Aha, well that's a very different problem than searching cookbook data. In that case, you'd want to be searching the node data, but unfortunately the node data doesn't keep track of which versions of which cookbooks ran in the latest run list.
You could probably do something with knife ssh:
knife ssh '*:*' 'sudo grep version /var/chef/cache/cookbooks/COOKBOOK_NAME/metadata.rb'
Not sure if that scales for you though.
|
Attachment:
signature.asc
Description: Message signed with OpenPGP using GPGMail
Archive powered by MHonArc 2.6.16.