Skip to content
This repository has been archived by the owner on Nov 23, 2017. It is now read-only.

Commit

Permalink
By using reload instead of restart on changes to configuration files …
Browse files Browse the repository at this point in the history
…we get nagios to validate the config changes before they are applied. If something in the new config would break nagios the chef-client fails, but leaves nagios alive.
  • Loading branch information
Jake Vanderdray authored and jtimberman committed Nov 17, 2011
1 parent 6a3b5f9 commit 74942eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nagios/definitions/nagios_conf.rb
Expand Up @@ -31,7 +31,7 @@
source "#{params[:name]}.cfg.erb"
mode 0644
variables params[:variables]
notifies :restart, "service[nagios]"
notifies :reload, "service[nagios]"
backup 0
end
end

0 comments on commit 74942eb

Please sign in to comment.