summaryrefslogtreecommitdiff
path: root/lib/chef/provider/remote_file
diff options
context:
space:
mode:
authorChris Doherty <cdoherty@chef.io>2016-03-02 12:40:25 -0800
committerChris Doherty <cdoherty@chef.io>2016-03-17 14:56:02 -0700
commita5d1c7c4fd0682d274a0d0e1fbfb10bbfa9016ae (patch)
treefba5876385c2698c760f3520a7435f6cf7f96450 /lib/chef/provider/remote_file
parent81276da7a221ca1a935b069608580839e94b7154 (diff)
downloadchef-a5d1c7c4fd0682d274a0d0e1fbfb10bbfa9016ae.tar.gz
- Restore previous behavior where we use the user/pass from the URI, if present.nls/proxy-cleanup
- s/ChefConfig::Config.proxy_uri/Chef::Config.proxy_uri/
Diffstat (limited to 'lib/chef/provider/remote_file')
-rw-r--r--lib/chef/provider/remote_file/ftp.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/remote_file/ftp.rb b/lib/chef/provider/remote_file/ftp.rb
index f63acdc06c..5935e83301 100644
--- a/lib/chef/provider/remote_file/ftp.rb
+++ b/lib/chef/provider/remote_file/ftp.rb
@@ -147,7 +147,7 @@ class Chef
end
def proxy_uri(uri)
- ChefConfig::Config.proxy_uri("ftp", hostname, port)
+ Chef::Config.proxy_uri("ftp", hostname, port)
end
def parse_path