summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/chef/provider/remote_file.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/provider/remote_file.rb b/lib/chef/provider/remote_file.rb
index 24be354435..4f82dea9a0 100644
--- a/lib/chef/provider/remote_file.rb
+++ b/lib/chef/provider/remote_file.rb
@@ -128,6 +128,7 @@ class Chef
def grab_file_from_uri(uri)
if_modified_since = @new_resource.last_modified
if_none_match = @new_resource.etag
+ # The current resource's source uri was saved with a masked password
uri_dup = uri.dup
if uri_dup.userinfo
uri_dup.password = "********"