[chef] How to obtain cookbook dependencies from metadata.rb?


Chronological Thread 
  • From: Torben Knerr < >
  • To: " " < >
  • Subject: [chef] How to obtain cookbook dependencies from metadata.rb?
  • Date: Wed, 9 Jan 2013 22:44:56 +0100

Ohai Chefs,

what's the easiest way to obtain the cookbook dependencies defined in metadata.rb (only direct dependencies are required)?

I'm not too firm with the chef internals yet, thus my first idea was to evaluate metadata.rb and recording the `depends` calls via `method_missing` - but this doesn't feels quite right... 

Thanks!
Torben 



Archive powered by MHonArc 2.6.16.

§