Method: Chef::Client#setup_run_context
- Defined in:
- lib/chef/client.rb
#setup_run_context ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Sets up the run context.
492 493 494 495 496 497 |
# File 'lib/chef/client.rb', line 492 def setup_run_context @run_context = policy_builder.setup_run_context(specific_recipes, run_context) assert_cookbook_path_not_empty(run_context) run_status.run_context = run_context # backcompat for chefspec run_context end |