From bc007801d526ea6883c7dfc534473843acbc9805 Mon Sep 17 00:00:00 2001 From: Thom May Date: Mon, 30 Apr 2018 12:25:08 +0100 Subject: Don't always request lazy files Signed-off-by: Thom May --- lib/chef/cookbook/remote_file_vendor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/chef/cookbook/remote_file_vendor.rb') diff --git a/lib/chef/cookbook/remote_file_vendor.rb b/lib/chef/cookbook/remote_file_vendor.rb index 3f73c1cca6..7db0cb8686 100644 --- a/lib/chef/cookbook/remote_file_vendor.rb +++ b/lib/chef/cookbook/remote_file_vendor.rb @@ -62,7 +62,7 @@ class Chef # If the checksums are different between on-disk (current) and on-server # (remote, per manifest), do the update. This will also execute if there # is no current checksum. - if found_manifest_record[:lazy] || current_checksum != found_manifest_record["checksum"] + if current_checksum != found_manifest_record["checksum"] raw_file = @rest.streaming_request(found_manifest_record[:url]) Chef::Log.trace("Storing updated #{cache_filename} in the cache.") -- cgit v1.2.1