Rely on Last-Modified and/or ETag to control chef client downloads
authorTom Hughes <tom@compton.nu>
Sun, 13 Apr 2014 19:54:35 +0000 (20:54 +0100)
committerTom Hughes <tom@compton.nu>
Sun, 13 Apr 2014 19:54:35 +0000 (20:54 +0100)
cookbooks/chef/recipes/default.rb

index 7a58054..7536807 100644 (file)
@@ -42,7 +42,6 @@ Dir.glob("/var/cache/chef/chef_*.deb").each do |deb|
 end
 
 remote_file "/var/cache/chef/#{chef_package}" do
-  action :create_if_missing
   source "https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/#{chef_platform}/x86_64/#{chef_package}"
   owner "root"
   group "root"