diff options
author | Thom May <thom@chef.io> | 2018-04-30 12:25:08 +0100 |
---|---|---|
committer | Thom May <thom@chef.io> | 2018-05-02 15:15:00 +0100 |
commit | f3ff010f363d9be4d871098f890341c2e58a56ac (patch) | |
tree | 72d4770ef4ea4e7aaca2a349c38b7963910c28a3 | |
parent | 2d28e56c536af67bb6817d3a9bfe4d2439b611f8 (diff) | |
download | chef-f3ff010f363d9be4d871098f890341c2e58a56ac.tar.gz |
Don't always request lazy files
Signed-off-by: Thom May <thom@chef.io>
-rw-r--r-- | lib/chef/cookbook/remote_file_vendor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/cookbook/remote_file_vendor.rb b/lib/chef/cookbook/remote_file_vendor.rb index 668d74c9ce..cfd7789311 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.debug("Storing updated #{cache_filename} in the cache.") |