Sha256: bfd50e144c204c91b9af5d6b19f78fde6a357f0ddcfcbcdeb807b59532bd17d5
Contents?: true
Size: 773 Bytes
Versions: 33
Compression:
Stored size: 773 Bytes
Contents
require 'chef/resource/lwrp_base' require 'chef_metal' require 'chef_metal/machine' require 'chef_metal/driver' class Chef::Resource::MachineFile < Chef::Resource::LWRPBase self.resource_name = 'machine_file' def initialize(*args) super @chef_server = run_context.cheffish.current_chef_server end actions :upload, :download, :delete, :nothing default_action :upload attribute :path, :kind_of => String, :name_attribute => true attribute :machine, :kind_of => String attribute :local_path, :kind_of => String attribute :content attribute :owner, :kind_of => String attribute :group, :kind_of => String attribute :mode, :kind_of => String attribute :chef_server, :kind_of => Hash attribute :driver, :kind_of => ChefMetal::Driver end
Version data entries
33 entries across 33 versions & 2 rubygems