diff options
author | varac <varacanero@zeromail.org> | 2016-01-25 12:07:11 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2016-01-26 20:19:09 +0100 |
commit | 982f8b6ce9c470366f967f3ad8fece2a673db59d (patch) | |
tree | db4ac9f9b8d1ecfae1c49cfcd2bba482d02e0a54 /puppet/modules/site_config/manifests/remove/files.pp | |
parent | 38e1003186ca194c75b87fdb8898304556d89a7a (diff) |
[feat] Move bigcouch removals to own class
We now include "site_config::remove::bigcouch" in class
"site_couchdb::master", which sets up plain couchdb.
Diffstat (limited to 'puppet/modules/site_config/manifests/remove/files.pp')
-rw-r--r-- | puppet/modules/site_config/manifests/remove/files.pp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/puppet/modules/site_config/manifests/remove/files.pp b/puppet/modules/site_config/manifests/remove/files.pp index 077381e1..4f7aa6e6 100644 --- a/puppet/modules/site_config/manifests/remove/files.pp +++ b/puppet/modules/site_config/manifests/remove/files.pp @@ -51,22 +51,4 @@ class site_config::remove::files { onlyif => "/bin/grep -qe 'leap_mx.log' /etc/check_mk/logwatch.state" } - # Don't use check_mk logwatch to watch bigcouch logs anymore - # see https://leap.se/code/issues/7375 for more details - file { '/etc/check_mk/logwatch.d/bigcouch.cfg': - ensure => absent, - notify => [ - Exec['remove_bigcouch_logwatch_spoolfiles'], - Exec['remove_bigcouch_logwatch_stateline'] - ] - } - # remove leftover bigcouch logwatch spool files - exec { 'remove_bigcouch_logwatch_spoolfiles': - command => 'find /var/lib/check_mk/logwatch -name \'\\opt\\bigcouch\\var\\log\\bigcouch.log\' -exec rm {} \;', - refreshonly => true, - } - exec { 'remove_bigcouch_logwatch_stateline': - command => "sed -i '/bigcouch.log/d' /etc/check_mk/logwatch.state", - refreshonly => true, - } } |