RunStatus available during run?


#1

Is the instance of Chef::RunStatus that gets passed to handlers after
a run also available to recipe or library code during the run? Any
good examples of cookbooks that use this?

KC


#2

On Tuesday, September 18, 2012 at 8:30 PM, KC Braunschweig wrote:

Is the instance of Chef::RunStatus that gets passed to handlers after
a run also available to recipe or library code during the run? Any
good examples of cookbooks that use this?

KC
RunStatus is only available to the Chef::Client object that coordinates the client/solo run, so you can’t access it from a recipe.

What are you trying to accomplish?


Daniel DeLeo