Sha256: 9f81f7a46956523621dd690c887b9b16fb206439524e47435a104eb1402aae3e

Contents?: true

Size: 694 Bytes

Versions: 23

Compression:

Stored size: 694 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 :live_stream, :kind_of => [TrueClass,FalseClass], :default => false

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

end
end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
chef-provisioning-2.0.0 lib/chef/resource/machine_execute.rb
chef-provisioning-1.9.1 lib/chef/resource/machine_execute.rb
chef-provisioning-1.9.0 lib/chef/resource/machine_execute.rb
chef-provisioning-1.8.1 lib/chef/resource/machine_execute.rb
chef-provisioning-1.8.0 lib/chef/resource/machine_execute.rb
chef-provisioning-1.7.1 lib/chef/resource/machine_execute.rb
chef-provisioning-1.7.0 lib/chef/resource/machine_execute.rb
chef-provisioning-1.6.0 lib/chef/resource/machine_execute.rb
chef-provisioning-1.5.1 lib/chef/resource/machine_execute.rb
chef-provisioning-1.5.0 lib/chef/resource/machine_execute.rb
chef-provisioning-1.4.1 lib/chef/resource/machine_execute.rb
chef-provisioning-1.4.0 lib/chef/resource/machine_execute.rb
chef-provisioning-1.3.0 lib/chef/resource/machine_execute.rb
chef-provisioning-1.2.1 lib/chef/resource/machine_execute.rb
chef-provisioning-1.2.0 lib/chef/resource/machine_execute.rb
chef-provisioning-1.1.1 lib/chef/resource/machine_execute.rb
chef-provisioning-1.1.0 lib/chef/resource/machine_execute.rb
chef-provisioning-1.0.1 lib/chef/resource/machine_execute.rb
chef-provisioning-1.0.0 lib/chef/resource/machine_execute.rb
chef-provisioning-1.0.0.rc.2 lib/chef/resource/machine_execute.rb