summaryrefslogtreecommitdiff
path: root/puppet/modules/site_nagios/manifests/server/purge.pp
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/site_nagios/manifests/server/purge.pp')
-rw-r--r--puppet/modules/site_nagios/manifests/server/purge.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/puppet/modules/site_nagios/manifests/server/purge.pp b/puppet/modules/site_nagios/manifests/server/purge.pp
new file mode 100644
index 00000000..39735cd3
--- /dev/null
+++ b/puppet/modules/site_nagios/manifests/server/purge.pp
@@ -0,0 +1,7 @@
+class site_nagios::server::purge {
+ exec {'purge_conf.d':
+ command => '/bin/rm -rf /etc/nagios3/conf.d/*',
+ onlyif => 'test -e /etc/nagios3/conf.d'
+ }
+
+}