[chef] Re: Re: Cookbook dependency graphing


Chronological Thread 
  • From: Torben Knerr < >
  • To:
  • Subject: [chef] Re: Re: Cookbook dependency graphing
  • Date: Wed, 10 Jul 2013 07:03:24 +0200

Like! :-)

On Jul 10, 2013 2:30 AM, "Ranjib Dey" < "> > wrote:
\m/
do it!



On Tue, Jul 9, 2013 at 5:00 PM, steve . < " target="_blank"> > wrote:
Not sure if anyone's already doing something like this, but I made some REALLY MINOR modifications to the most ancient and venerable Ruby depgraph tool and got it parsing cookbook metadata instead of C# code and installed gems.


Default behavior is to parse, fire up graphviz and show you a dependency graph.  That's fine but I wanted it as a JSON object.

I added the -json switch to allow you to generate an object that looks like this:

{ "cookbook" : [ "dependency1", "dependency2"],
 ...
}

Hope someone out there finds this useful.




Archive powered by MHonArc 2.6.16.

§