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
9 10 11 |
# File 'lib/chef/provider/machine_execute.rb', line 9 def action_handler @action_handler ||= Chef::Provisioning::ChefProviderActionHandler.new(self) end |
#machine ⇒ Object
19 20 21 22 23 24 25 26 27 |
# File 'lib/chef/provider/machine_execute.rb', line 19 def machine @machine ||= begin if new_resource.machine.kind_of?(Chef::Provisioning::Machine) new_resource.machine else run_context.chef_provisioning.connect_to_machine(new_resource.machine, new_resource.chef_server) end end end |
#whyrun_supported? ⇒ Boolean
15 16 17 |
# File 'lib/chef/provider/machine_execute.rb', line 15 def whyrun_supported? true end |