From 72a7a1f5f521279a96351b6c2b472fb69ed979bb Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 8 Apr 2012 19:57:23 +0200 Subject: [PATCH] Notify nrpe service when things change --- modules/nagios/manifests/client.pp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/nagios/manifests/client.pp b/modules/nagios/manifests/client.pp index 7b8927de3..747940338 100644 --- a/modules/nagios/manifests/client.pp +++ b/modules/nagios/manifests/client.pp @@ -42,16 +42,20 @@ class nagios::client inherits nagios { } file { '/etc/nagios/nrpe.cfg': content => template('nagios/nrpe.cfg.erb'), + notify => Service['nagios-nrpe-server'], } file { '/etc/nagios/nrpe.d': ensure => directory, mode => '0755', + notify => Service['nagios-nrpe-server'], } file { '/etc/nagios/nrpe.d/debianorg.cfg': content => template('nagios/inc-debian.org.erb'), + notify => Service['nagios-nrpe-server'], } file { '/etc/nagios/nrpe.d/nrpe_dsa.cfg': source => 'puppet:///modules/nagios/dsa-nagios/generated/nrpe_dsa.cfg', + notify => Service['nagios-nrpe-server'], } file { '/etc/nagios/obsolete-packages-ignore': source => 'puppet:///modules/nagios/common/obsolete-packages-ignore', -- 2.20.1