diff options
author | Xabier de Zuazo <xabier@onddo.com> | 2013-12-16 23:05:48 +0100 |
---|---|---|
committer | Xabier de Zuazo <xabier@onddo.com> | 2013-12-16 23:05:48 +0100 |
commit | 688f95845e0eb7d61f32587da9b9050d42b520cf (patch) | |
tree | 9e5bf6326de4773d7ed192cfc9920f3d8a6558b0 /lib/chef/provider/http_request.rb | |
parent | ecbc917ac5496f3138b798332ea66f477c33f8ba (diff) | |
download | chef-688f95845e0eb7d61f32587da9b9050d42b520cf.tar.gz |
CHEF-4762: http_request with action :head does not behave correctly in 11.8.0 fixed
Diffstat (limited to 'lib/chef/provider/http_request.rb')
-rw-r--r-- | lib/chef/provider/http_request.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/http_request.rb b/lib/chef/provider/http_request.rb index 1e0aa8b4a0..e45d2336bb 100644 --- a/lib/chef/provider/http_request.rb +++ b/lib/chef/provider/http_request.rb @@ -44,7 +44,7 @@ class Chef Chef::Log.info("#{@new_resource} HEAD to #{@new_resource.url} successful") Chef::Log.debug("#{@new_resource} HEAD request response: #{modified}") # :head is usually used to trigger notifications, which converge_by now does - if modified + if modified != false converge_by("#{@new_resource} HEAD to #{@new_resource.url} returned modified, trigger notifications") {} end end |