do (re)starting after applying config changes, when it makes sense

Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
This commit is contained in:
Rick Elrod 2014-07-09 21:49:22 +00:00
parent 0d66229c57
commit ebd48d6a94

View file

@ -31,9 +31,6 @@
#- nsca-client # TODO: rhel7
- stunnel
- name: Restart and autostart nagios
service: name=nagios state=restarted enabled=yes
# TODO: rhel7
#- name: Restart and autostart nsca
# service: name=nsca state=restarted enabled=yes
@ -78,6 +75,9 @@
- name: Install check_nagios_notifications cron
cron: name="check_nagios_notifications" minute=0 hour=0 weekday=1 user=nagios job="/usr/local/bin/check_nagios_notifications.py"
- name: Restart and autostart nagios
service: name=nagios state=restarted enabled=yes
#class nagios::server_external inherits nagios::server {
# File['/etc/nagios/'] {
# source => 'puppet:///nagios/nagios-external/',