Class: Chef::Provider::RemoteDirectory

Inherits:
Directory show all
Includes:
Mixin::FindPreferredFile
Defined in:
lib/chef/provider/remote_directory.rb

Instance Attribute Summary

Attributes inherited from Chef::Provider

#current_resource, #new_resource, #node

Instance Method Summary collapse

Methods included from Mixin::FindPreferredFile

#find_preferred_file, #load_cookbook_files

Methods inherited from Directory

#action_delete, #load_current_resource

Methods inherited from File

#action_delete, #action_touch, #backup, #compare_group, #compare_mode, #compare_owner, #generate_url, #load_current_resource, #set_group, #set_mode, #set_owner

Methods included from Mixin::GenerateURL

#generate_cookbook_url, #generate_cookbook_url_from_uri

Methods included from Mixin::Checksum

#checksum

Methods inherited from Chef::Provider

#action_nothing, build_from_file, #initialize, #load_current_resource

Methods included from Mixin::ConvertToClassName

#convert_to_class_name, #convert_to_snake_case, #filename_to_qualified_string

Methods included from Mixin::RecipeDefinitionDSLCore

#method_missing

Methods included from Mixin::Language

#data_bag, #data_bag_item, #platform?, #search, #value_for_platform

Constructor Details

This class inherits a constructor from Chef::Provider

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Chef::Mixin::RecipeDefinitionDSLCore

Instance Method Details

#action_createObject



36
37
38
39
40
41
# File 'lib/chef/provider/remote_directory.rb', line 36

def action_create
  super

  @remote_file_list = Hash.new
  do_recursive
end