From 8418b4631de0dba9331700396de6ed7aadee2e91 Mon Sep 17 00:00:00 2001 From: Jesse Campbell Date: Sat, 16 Mar 2013 08:28:09 -0400 Subject: comment for potentially unclear block --- lib/chef/provider/remote_file.rb | 1 + 1 file changed, 1 insertion(+) 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 = "********" -- cgit v1.2.1