summaryrefslogtreecommitdiff
path: root/puppet/modules/site_config/manifests/remove
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-08-31 22:11:49 +0200
committerMicah <micah@leap.se>2016-08-31 19:00:15 -0400
commitd81ba8bb9dbd6b1e8e7867a2fd58756788fe7b1a (patch)
tree10868f32ee761e73af0e58a589a7a272be93005f /puppet/modules/site_config/manifests/remove
parent07315e2c79e61d98ce503a4b9da7fbba9f8a61ed (diff)
[bug] Remove Nagios soledad procs check
leap_cli already checks for running procs - Resolves: #8380
Diffstat (limited to 'puppet/modules/site_config/manifests/remove')
-rw-r--r--puppet/modules/site_config/manifests/remove/soledad.pp12
1 files changed, 12 insertions, 0 deletions
diff --git a/puppet/modules/site_config/manifests/remove/soledad.pp b/puppet/modules/site_config/manifests/remove/soledad.pp
new file mode 100644
index 00000000..46c23f26
--- /dev/null
+++ b/puppet/modules/site_config/manifests/remove/soledad.pp
@@ -0,0 +1,12 @@
+# remove possible leftovers on soledad nodes
+class site_config::remove::soledad {
+
+ # remove soledad procs check because leap_cli already checks for them
+ augeas { 'Soledad_Procs':
+ incl => '/etc/check_mk/mrpe.cfg',
+ lens => 'Spacevars.lns',
+ changes => [ 'rm /files/etc/check_mk/mrpe.cfg/Soledad_Procs' ],
+ require => File['/etc/check_mk/mrpe.cfg'];
+ }
+
+}