summaryrefslogtreecommitdiff
path: root/lib/chef/provider/remote_file.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@opscode.com>2013-03-27 14:57:00 -0700
committerLamont Granquist <lamont@opscode.com>2013-03-27 14:57:00 -0700
commit4c480dc7653abfb112c7d701835057f501407d1b (patch)
treed98c5351aa75f036c4fd45308771eefac0366adb /lib/chef/provider/remote_file.rb
parente8ba178af9dcbe8ae05eeb655f3427375dfdab19 (diff)
downloadchef-4c480dc7653abfb112c7d701835057f501407d1b.tar.gz
add checksums to debug output
Diffstat (limited to 'lib/chef/provider/remote_file.rb')
-rw-r--r--lib/chef/provider/remote_file.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/remote_file.rb b/lib/chef/provider/remote_file.rb
index fedd7ec5fd..017164e9f1 100644
--- a/lib/chef/provider/remote_file.rb
+++ b/lib/chef/provider/remote_file.rb
@@ -39,7 +39,7 @@ class Chef
@current_resource.source fileinfo["src"]
Chef::Log.debug("loaded etag %s, last_modified %s, source %s from file metadata cache" % [fileinfo["etag"], fileinfo["last_modified"], fileinfo["src"]])
else
- Chef::Log.debug("checksum of current resource does not match cached checksum, not loading metadata...")
+ Chef::Log.debug("current resource checksum '#{@current_resource.checksum}' does not match cached checksum '#{fileinfo['checksum']}', not loading metadata...")
end
else
Chef::Log.debug("no cached file information found")