[chef] Re: shef question


Chronological Thread 
  • From: Steven Danna < >
  • To:
  • Subject: [chef] Re: shef question
  • Date: Tue, 6 Mar 2012 23:35:12 -0800

Hi,

On Tue, Mar 6, 2012 at 3:07 PM, Phil Dibowitz 
< >
 wrote:

> Any pointers would be helpful, thanks.
>

You might be interested in my blog post here:

http://stevendanna.github.com/blog/2012/01/28/shef-debugging-tips-1/

The tl;dr is that client mode downloads the cookbooks and loads all
the attributes and providers, but it doesn't to the equivalent of the
"compile" phase for the recipes.  From recipe mode you can call
`include_recipe` to lead the resources from any recipe that was in
your expanded run_list and downloaded to the file_cache.  The blog
post has some further functions for calling include_recipe for every
recipe in the expanded run list and inserting breakpoints into the
existing resource collection.

Cheers,

Steve



Archive powered by MHonArc 2.6.16.

§