Class: Chef::Provider::MachineExecute
- Inherits:
-
LWRPBase
- Object
- LWRPBase
- Chef::Provider::MachineExecute
- Defined in:
- lib/chef/provider/machine_execute.rb
Instance Method Summary collapse
Instance Method Details
#action_handler ⇒ Object
7 8 9 |
# File 'lib/chef/provider/machine_execute.rb', line 7 def action_handler @action_handler ||= ChefMetal::ChefProviderActionHandler.new(self) end |
#machine ⇒ Object
17 18 19 20 21 22 23 24 25 |
# File 'lib/chef/provider/machine_execute.rb', line 17 def machine @machine ||= begin if new_resource.machine.kind_of?(ChefMetal::Machine) new_resource.machine else run_context..connect_to_machine(new_resource.machine, new_resource.chef_server) end end end |
#whyrun_supported? ⇒ Boolean
13 14 15 |
# File 'lib/chef/provider/machine_execute.rb', line 13 def whyrun_supported? true end |