summaryrefslogtreecommitdiff
path: root/puppet/modules/site_nagios
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-01-31 11:41:13 +0100
committervarac <varacanero@zeromail.org>2013-01-31 11:41:13 +0100
commit5addc36a364186d53d13304182d6f41b30f6a890 (patch)
tree15e90e9da8f0d3ce6809ab4a80520e54c9905207 /puppet/modules/site_nagios
parentced1717ae310c5b24fffd041c8af38b016d90ed4 (diff)
just purge the nagios3/conf.d content, not the dir itself
Diffstat (limited to 'puppet/modules/site_nagios')
-rw-r--r--puppet/modules/site_nagios/manifests/server/purge.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/puppet/modules/site_nagios/manifests/server/purge.pp b/puppet/modules/site_nagios/manifests/server/purge.pp
index 66c27dd5..39735cd3 100644
--- a/puppet/modules/site_nagios/manifests/server/purge.pp
+++ b/puppet/modules/site_nagios/manifests/server/purge.pp
@@ -1,6 +1,6 @@
class site_nagios::server::purge {
exec {'purge_conf.d':
- command => '/bin/rm -rf /etc/nagios3/conf.d',
+ command => '/bin/rm -rf /etc/nagios3/conf.d/*',
onlyif => 'test -e /etc/nagios3/conf.d'
}