Class: Shef::SoloSession
- Inherits:
-
ShefSession
- Object
- ShefSession
- Shef::SoloSession
- Defined in:
- lib/chef/shef/shef_session.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from ShefSession
#client, #compile, #node, #node_attributes, #recipe
Instance Method Summary collapse
Methods inherited from ShefSession
#collection, #initialize, inspect, #node_built?, #reset!, #save_node
Constructor Details
This class inherits a constructor from Shef::ShefSession
Instance Method Details
#cookbook_loader ⇒ Object
135 136 137 |
# File 'lib/chef/shef/shef_session.rb', line 135 def cookbook_loader @compile.cookbook_loader end |
#definitions ⇒ Object
131 132 133 |
# File 'lib/chef/shef/shef_session.rb', line 131 def definitions @compile.definitions end |
#rebuild_collection ⇒ Object
139 140 141 142 143 144 145 |
# File 'lib/chef/shef/shef_session.rb', line 139 def rebuild_collection @compile = Chef::Compile.new(@client.node) @collection = @compile.collection @collection << @recipe.collection.all_resources @collection end |