Closed ghost closed 11 years ago
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.
Would be nice if this could be merged. It would spare a lot of non-needed reload/restarts.
The following will restart the 'nginx' service every time chef-client runs, not only if the certificate was actually changed.
this patch prevents restarting services even though nothing changed, if certificate_manage notifies a service.