lib/chef/provider/machine_file.rb in clc-fork-chef-metal-0.14.alpha.3 vs lib/chef/provider/machine_file.rb in clc-fork-chef-metal-0.14.alpha.4
- old
+ new
@@ -1,10 +1,12 @@
require 'chef/provider/lwrp_base'
require 'chef_metal/chef_provider_action_handler'
require 'chef_metal/machine'
-class Chef::Provider::MachineFile < Chef::Provider::LWRPBase
+class Chef
+class Provider
+class MachineFile < Chef::Provider::LWRPBase
def action_handler
@action_handler ||= ChefMetal::ChefProviderActionHandler.new(self)
end
@@ -44,6 +46,9 @@
end
action :delete do
machine.delete_file(action_handler, new_resource.path)
end
+
+end
+end
end