From: Peter Palfrader Date: Sun, 8 Apr 2012 17:57:23 +0000 (+0200) Subject: Notify nrpe service when things change X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=72a7a1f5f521279a96351b6c2b472fb69ed979bb;p=mirror%2Fdsa-puppet.git Notify nrpe service when things change --- 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',