Class: Shef::StandAloneSession
- Inherits:
-
ShefSession
- Object
- ShefSession
- Shef::StandAloneSession
- Defined in:
- lib/chef/shef/shef_session.rb
Instance Attribute Summary
Attributes inherited from ShefSession
#client, #compile, #node, #node_attributes, #recipe, #run_context
Instance Method Summary collapse
Methods inherited from ShefSession
#cookbook_loader, #definitions, #initialize, inspect, #node_built?, #reset!, #resource_collection, #save_node, session_type
Constructor Details
This class inherits a constructor from Shef::ShefSession
Instance Method Details
#rebuild_context ⇒ Object
136 137 138 |
# File 'lib/chef/shef/shef_session.rb', line 136 def rebuild_context @run_context = Chef::RunContext.new(@node, {}) # no recipes end |