atomic-penguin/cookbook-certificate — pull request #1 by kechagia (2012-10-17 11:18:41+00:00)
Title: only calls updated_by_last_action(true), if the certificate file really was updated

The following will restart the 'nginx' service *every* time chef-client runs, not only if the certificate was actually changed.

certificate_manage 'bla' do
...
notifies :restart, resources(:service => 'nginx')
end

this patch prevents restarting services even though nothing changed, if certificate_manage notifies a service.