diff options
Diffstat (limited to 'lib/chef/provider/remote_file')
-rw-r--r-- | lib/chef/provider/remote_file/ftp.rb | 1 | ||||
-rw-r--r-- | lib/chef/provider/remote_file/local_file.rb | 1 | ||||
-rw-r--r-- | lib/chef/provider/remote_file/sftp.rb | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/lib/chef/provider/remote_file/ftp.rb b/lib/chef/provider/remote_file/ftp.rb index f4beb2f597..e2b32ddaf6 100644 --- a/lib/chef/provider/remote_file/ftp.rb +++ b/lib/chef/provider/remote_file/ftp.rb @@ -17,6 +17,7 @@ # require "uri" unless defined?(URI) +require "cgi" unless defined?(CGI) require "tempfile" unless defined?(Tempfile) require "net/ftp" require_relative "../remote_file" diff --git a/lib/chef/provider/remote_file/local_file.rb b/lib/chef/provider/remote_file/local_file.rb index 92961947f8..c68c4eecd5 100644 --- a/lib/chef/provider/remote_file/local_file.rb +++ b/lib/chef/provider/remote_file/local_file.rb @@ -17,6 +17,7 @@ # require "uri" unless defined?(URI) +require "cgi" unless defined?(CGI) require "tempfile" unless defined?(Tempfile) require_relative "../remote_file" diff --git a/lib/chef/provider/remote_file/sftp.rb b/lib/chef/provider/remote_file/sftp.rb index 2f02ac8ee6..43654bd67c 100644 --- a/lib/chef/provider/remote_file/sftp.rb +++ b/lib/chef/provider/remote_file/sftp.rb @@ -17,6 +17,7 @@ # require "uri" unless defined?(URI) +require "cgi" unless defined?(CGI) require "tempfile" unless defined?(Tempfile) require "net/sftp" require_relative "../remote_file" |