summaryrefslogtreecommitdiff
path: root/puppet/modules/site_nagios/manifests
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-01-31 12:20:49 +0100
committervarac <varacanero@zeromail.org>2013-01-31 12:20:49 +0100
commit5d54af627590acd9606e570fbb1ccb87e1237a76 (patch)
treeb5ee191841fb53911dfe0b8729a2f582dc16332f /puppet/modules/site_nagios/manifests
parent09649211f3c4b9ffd08af15deabe5916cf78df72 (diff)
parentdda36946d405301d9123bb455753650920d0756a (diff)
Merge branch 'feature/tags' into develop
Diffstat (limited to 'puppet/modules/site_nagios/manifests')
-rw-r--r--puppet/modules/site_nagios/manifests/init.pp4
-rw-r--r--puppet/modules/site_nagios/manifests/server/purge.pp2
2 files changed, 5 insertions, 1 deletions
diff --git a/puppet/modules/site_nagios/manifests/init.pp b/puppet/modules/site_nagios/manifests/init.pp
new file mode 100644
index 00000000..57da3011
--- /dev/null
+++ b/puppet/modules/site_nagios/manifests/init.pp
@@ -0,0 +1,4 @@
+class site_nagios {
+ tag 'service'
+ include site_nagios::server
+}
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'
}