do (re)starting after applying config changes, when it makes sense
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
This commit is contained in:
parent
0d66229c57
commit
ebd48d6a94
1 changed files with 3 additions and 3 deletions
|
@ -31,9 +31,6 @@
|
||||||
#- nsca-client # TODO: rhel7
|
#- nsca-client # TODO: rhel7
|
||||||
- stunnel
|
- stunnel
|
||||||
|
|
||||||
- name: Restart and autostart nagios
|
|
||||||
service: name=nagios state=restarted enabled=yes
|
|
||||||
|
|
||||||
# TODO: rhel7
|
# TODO: rhel7
|
||||||
#- name: Restart and autostart nsca
|
#- name: Restart and autostart nsca
|
||||||
# service: name=nsca state=restarted enabled=yes
|
# service: name=nsca state=restarted enabled=yes
|
||||||
|
@ -78,6 +75,9 @@
|
||||||
- name: Install check_nagios_notifications cron
|
- 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"
|
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 {
|
#class nagios::server_external inherits nagios::server {
|
||||||
# File['/etc/nagios/'] {
|
# File['/etc/nagios/'] {
|
||||||
# source => 'puppet:///nagios/nagios-external/',
|
# source => 'puppet:///nagios/nagios-external/',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue