summaryrefslogtreecommitdiff
path: root/puppet/modules/site_config/manifests/remove/bigcouch.pp
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/site_config/manifests/remove/bigcouch.pp')
-rw-r--r--puppet/modules/site_config/manifests/remove/bigcouch.pp6
1 files changed, 1 insertions, 5 deletions
diff --git a/puppet/modules/site_config/manifests/remove/bigcouch.pp b/puppet/modules/site_config/manifests/remove/bigcouch.pp
index 0783fe9d..f8e0ebe2 100644
--- a/puppet/modules/site_config/manifests/remove/bigcouch.pp
+++ b/puppet/modules/site_config/manifests/remove/bigcouch.pp
@@ -10,11 +10,7 @@ class site_config::remove::bigcouch {
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,