summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Campbell <hikeit@gmail.com>2013-03-16 08:28:09 -0400
committerJesse Campbell <hikeit@gmail.com>2013-03-16 08:28:09 -0400
commit8418b4631de0dba9331700396de6ed7aadee2e91 (patch)
tree7595ed126fb8aa6e086cf7a75a8abf741bf7d49b
parentb8caad872f930ffccf12a079ac5809f11607b6fc (diff)
downloadchef-jcam/remote_file.tar.gz
comment for potentially unclear blockjcam/remote_file
-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 = "********"