[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:32:57 +0200


Oh, this looks really nice! I especially like how the cookbooks are rendered vs roles :-)

Actually I'm working with application cookbooks rather than roles, and I'm working from inside a cookbook repo rather than a Chef repo.

A combination of both would be perfect ;-)


On Wed, Jul 10, 2013 at 7:07 AM, Mike < " target="_blank"> > wrote:
A while back, I did something similar for roles only:
http://miketheman.github.io/knife-role-spaghetti/


Does this make my (albiet, not really touched this code in a while)
code obsolete?

-M

On Tue, Jul 9, 2013 at 8:00 PM, steve . < "> > 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.
>
> http://github.com/leftathome/depgraph
>
> 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.

§