- From: Sean Escriva <
>
- To:
,
- Cc:
- Subject: [chef] Re: how to used chef-shell debugging tool
- Date: Mon, 27 Jan 2014 09:01:47 -0800
Hey,
writes:
>
Hi,
>
>
>
I wan't to do the debugging of chef,so that chef provides debugging tool
>
chef-shell .
>
But I am not able to understand that how to implement it means How can i
>
used
>
this tool for Debugging purpose.
One way using just chef builtin features is via the 'breakpoint'
resource[0] combined with chef-shell. Then within a run you can use
chef_run.rewind, chef_run.resume, chef_run.skip_forward,
chef_run.skip_backward to move around in the recipe execution. You can
find detailed examples on chef-shell docs page[1]
[0]
http://docs.opscode.com/resource_breakpoint.html
[1]
http://docs.opscode.com/chef_shell.html
--
-sean
Archive powered by MHonArc 2.6.16.