diff options
Diffstat (limited to 'lib/chef')
-rw-r--r-- | lib/chef/provider/remote_file.rb | 1 | ||||
-rw-r--r-- | lib/chef/provider/remote_file/ftp.rb | 3 | ||||
-rw-r--r-- | lib/chef/providers.rb | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/lib/chef/provider/remote_file.rb b/lib/chef/provider/remote_file.rb index 27ee95acd3..7e3816496b 100644 --- a/lib/chef/provider/remote_file.rb +++ b/lib/chef/provider/remote_file.rb @@ -19,7 +19,6 @@ require 'chef/provider/file' require 'rest_client' -require 'chef/provider/remote_file/ftp' require 'uri' require 'tempfile' diff --git a/lib/chef/provider/remote_file/ftp.rb b/lib/chef/provider/remote_file/ftp.rb index 9973822223..bc4e5a5183 100644 --- a/lib/chef/provider/remote_file/ftp.rb +++ b/lib/chef/provider/remote_file/ftp.rb @@ -19,10 +19,11 @@ require 'uri' require 'tempfile' require 'net/ftp' +require 'chef/provider/remote_file' class Chef class Provider - class RemoteFile < Chef::Provider::File + class RemoteFile class FTP # Fetches the file at uri using Net::FTP, returning a Tempfile diff --git a/lib/chef/providers.rb b/lib/chef/providers.rb index be3f487ca3..fa48f79943 100644 --- a/lib/chef/providers.rb +++ b/lib/chef/providers.rb @@ -99,5 +99,7 @@ require 'chef/provider/mount/windows' require 'chef/provider/deploy/revision' require 'chef/provider/deploy/timestamped' +require 'chef/provider/remote_file/ftp' + require "chef/provider/lwrp_base" require 'chef/provider/registry_key' |