[chef] Re: Re: Howto read cookbook version info from metadata.rb in recipe by runtime on a node


Chronological Thread 
  • From: Andrea Campi < >
  • To:
  • Subject: [chef] Re: Re: Howto read cookbook version info from metadata.rb in recipe by runtime on a node
  • Date: Mon, 29 Oct 2012 16:30:22 +0100



On Mon, Oct 29, 2012 at 3:32 PM, Mike < " target="_blank"> > wrote:
Oleg,

You might be looking for this:
http://wiki.opscode.com/display/chef/Environments#Environments-cookbookversions


Mike: I don't think that's what he's asking for…

Oleg: try

run_context.cookbook_collection[cookbook].metadata.version





Archive powered by MHonArc 2.6.16.

§