Class: Chef::Provider::Machine
- Inherits:
-
LWRPBase
- Object
- LWRPBase
- Chef::Provider::Machine
- Includes:
- ChefMetal::ProviderActionHandler
- Defined in:
- lib/chef/provider/machine.rb
Instance Attribute Summary collapse
-
#node_provider ⇒ Object
readonly
Returns the value of attribute node_provider.
Instance Method Summary collapse
Methods included from ChefMetal::ProviderActionHandler
#debug_name, #perform_action, #recipe_context, #updated!
Instance Attribute Details
#node_provider ⇒ Object (readonly)
Returns the value of attribute node_provider.
57 58 59 |
# File 'lib/chef/provider/machine.rb', line 57 def node_provider @node_provider end |
Instance Method Details
#load_current_resource ⇒ Object
59 60 61 62 |
# File 'lib/chef/provider/machine.rb', line 59 def load_current_resource @node_provider = Chef::Provider::ChefNode.new(new_resource, nil) @node_provider.load_current_resource end |
#whyrun_supported? ⇒ Boolean
12 13 14 |
# File 'lib/chef/provider/machine.rb', line 12 def whyrun_supported? true end |