From: Stephen Gran Date: Mon, 9 Apr 2012 19:05:06 +0000 (+0200) Subject: this is what we really mean X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=434c9ccffbbc721feb3e78f85a1932aadca54855;p=mirror%2Fdsa-puppet.git this is what we really mean Signed-off-by: Stephen Gran --- 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'], }