diff options
author | varac <varacanero@zeromail.org> | 2016-08-31 22:11:49 +0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2016-08-31 22:11:49 +0200 |
commit | 9ef0d00b4302b7ddfc9d5620eeb4fad90d3a15aa (patch) | |
tree | d266d374dc47b6821a28d946c0496a9600198a17 /puppet/modules/site_config/manifests | |
parent | b0c33b9c66116eb49f583a05d7baaaab7b6e7a15 (diff) |
[bug] Remove Nagios soledad procs check
leap_cli already checks for running procs
- Resolves: #8380
Diffstat (limited to 'puppet/modules/site_config/manifests')
-rw-r--r-- | puppet/modules/site_config/manifests/remove/soledad.pp | 12 |
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']; + } + +} |