diff options
author | varac <varacanero@zeromail.org> | 2013-01-31 12:20:49 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2013-01-31 12:20:49 +0100 |
commit | 5d54af627590acd9606e570fbb1ccb87e1237a76 (patch) | |
tree | b5ee191841fb53911dfe0b8729a2f582dc16332f /puppet/modules/site_nagios | |
parent | 09649211f3c4b9ffd08af15deabe5916cf78df72 (diff) | |
parent | dda36946d405301d9123bb455753650920d0756a (diff) |
Merge branch 'feature/tags' into develop
Diffstat (limited to 'puppet/modules/site_nagios')
-rw-r--r-- | puppet/modules/site_nagios/manifests/init.pp | 4 | ||||
-rw-r--r-- | puppet/modules/site_nagios/manifests/server/purge.pp | 2 |
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' } |