Sha256: ff1d95525c8c6c62c9879071da331f66919055b424445c3290f90a8e734fc2a2

Contents?: true

Size: 613 Bytes

Versions: 8

Compression:

Stored size: 613 Bytes

Contents

require 'chef/resource/lwrp_base'
require 'chef/provisioning'
require 'chef/provisioning/machine'
require 'chef/provisioning/driver'

class Chef
class Resource
class MachineExecute < Chef::Resource::LWRPBase

  self.resource_name = 'machine_execute'

  def initialize(*args)
    super
    @chef_server = run_context.cheffish.current_chef_server
  end

  actions :run
  default_action :run

  attribute :command, :kind_of => String, :name_attribute => true
  attribute :machine, :kind_of => String

  attribute :chef_server, :kind_of => Hash
  attribute :driver, :kind_of => Chef::Provisioning::Driver

end
end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
chef-provisioning-0.19 lib/chef/resource/machine_execute.rb
chef-provisioning-0.18 lib/chef/resource/machine_execute.rb
chef-provisioning-0.17 lib/chef/resource/machine_execute.rb
chef-provisioning-0.16 lib/chef/resource/machine_execute.rb
chef-provisioning-0.15.3 lib/chef/resource/machine_execute.rb
chef-provisioning-0.15.2 lib/chef/resource/machine_execute.rb
chef-provisioning-0.15.1 lib/chef/resource/machine_execute.rb
chef-provisioning-0.15 lib/chef/resource/machine_execute.rb