Demon has uploaded a new change for review.
https://gerrit.wikimedia.org/r/53173
Change subject: Don't keep any archived gerrit sshd logs
......................................................................
Don't keep any archived gerrit sshd logs
Change-Id: I49e51d30d13c6a6254dca92c1bcbb60ff7676281
---
M manifests/gerrit.pp
1 file changed, 7 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/73/53173/1
diff --git a/manifests/gerrit.pp b/manifests/gerrit.pp
index 94a3c57..c2f39f4 100644
--- a/manifests/gerrit.pp
+++ b/manifests/gerrit.pp
@@ -375,6 +375,13 @@
user => root,
hour => 1
}
+
+ cron { clear_gerrit_sshd_log:
+ # Don't keep any archived sshd logs.
+ command => "rm /var/lib/gerrit2/review_site/logs/sshd_log.*"
+ user => root,
+ hour => 1
+ }
}
# Setup the `gerritslave` account on any host that wants to receive
--
To view, visit https://gerrit.wikimedia.org/r/53173
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I49e51d30d13c6a6254dca92c1bcbb60ff7676281
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Demon <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits