From 434c9ccffbbc721feb3e78f85a1932aadca54855 Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Mon, 9 Apr 2012 21:05:06 +0200 Subject: [PATCH] this is what we really mean Signed-off-by: Stephen Gran --- modules/nagios/manifests/client.pp | 4 ++-- modules/nagios/manifests/server.pp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/nagios/manifests/client.pp b/modules/nagios/manifests/client.pp index e4f8d90ea..85abdca68 100644 --- a/modules/nagios/manifests/client.pp +++ b/modules/nagios/manifests/client.pp @@ -36,7 +36,7 @@ class nagios::client inherits nagios { } file { '/etc/nagios/': ensure => directory, - recurse => true, + recurse => remote, require => Package['nagios-nrpe-server'], notify => Service['nagios-nrpe-server'], } @@ -46,7 +46,7 @@ class nagios::client inherits nagios { } file { '/etc/nagios/nrpe.d': ensure => directory, - recurse => true, + recurse => remote, notify => Service['nagios-nrpe-server'], } file { '/etc/nagios/nrpe.d/debianorg.cfg': diff --git a/modules/nagios/manifests/server.pp b/modules/nagios/manifests/server.pp index 21e00b07d..0573c14e8 100644 --- a/modules/nagios/manifests/server.pp +++ b/modules/nagios/manifests/server.pp @@ -15,19 +15,19 @@ class nagios::server { file { '/etc/nagios-plugins/config': ensure => directory, - recurse => true, + recurse => remote, require => Package['nagios3'], notify => Service['nagios3'], } file { '/etc/nagios3': ensure => directory, - recurse => true, + recurse => remote, require => Package['nagios3'], notify => Service['nagios3'], } file { '/etc/nagios3/puppetconf.d': ensure => directory, - recurse => true, + recurse => remote, require => Package['nagios3'], notify => Service['nagios3'], } -- 2.20.1