From 69ae10698c417e4157aa1cde3d4415b0636c69b5 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 30 Oct 2018 11:18:15 +0100 Subject: [PATCH] make fail2ban cleanup job shut up --- modules/fail2ban/manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/fail2ban/manifests/init.pp b/modules/fail2ban/manifests/init.pp index 81b020eb2..a6a9cfab0 100644 --- a/modules/fail2ban/manifests/init.pp +++ b/modules/fail2ban/manifests/init.pp @@ -39,7 +39,7 @@ class fail2ban { concat::fragment { 'dsa-puppet-stuff--fail2ban-cleanup': target => '/etc/cron.d/dsa-puppet-stuff', content => @(EOF) - 17 * * * * root python3 -c "import sys, logging; logging.basicConfig(stream=sys.stdout, level=logging.INFO); from fail2ban.server.database import Fail2BanDb; db = Fail2BanDb('/var/lib/fail2ban/fail2ban.sqlite3'); db.purge(); db._db.cursor().execute('VACUUM')" + 17 * * * * root chronic python3 -c "import sys, logging; logging.basicConfig(stream=sys.stdout, level=logging.INFO); from fail2ban.server.database import Fail2BanDb; db = Fail2BanDb('/var/lib/fail2ban/fail2ban.sqlite3'); db.purge(); db._db.cursor().execute('VACUUM')" | EOF } -- 2.20.1