class Chef::Provider::MachineExecute

Public Instance Methods

action_handler() click to toggle source
# File lib/chef/provider/machine_execute.rb, line 10
def action_handler
  @action_handler ||= Chef::Provisioning::ChefProviderActionHandler.new(self)
end
machine() click to toggle source
# File lib/chef/provider/machine_execute.rb, line 20
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?() click to toggle source
# File lib/chef/provider/machine_execute.rb, line 16
def whyrun_supported?
  true
end