Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

By using reload instead of restart on changes to configuration files …

…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...
commit 74942eb7f2a88067fc32707bd1d5025a00ebf00d 1 parent 6a3b5f9
@clumpidy clumpidy authored jtimberman committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  nagios/definitions/nagios_conf.rb
View
2  nagios/definitions/nagios_conf.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.