Elukey has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/353014 )
Change subject: Fix logrotate config for analytics1003 to avoid cronspam
......................................................................
Fix logrotate config for analytics1003 to avoid cronspam
Bug: T132324
Change-Id: Id0b668eb3b36067ecb3b4c83d23651650dfa25f2
---
M modules/role/files/analytics_cluster/hadoop/hadoop_hdfs.logrotate
1 file changed, 1 insertion(+), 0 deletions(-)
Approvals:
Elukey: Verified; Looks good to me, approved
diff --git a/modules/role/files/analytics_cluster/hadoop/hadoop_hdfs.logrotate
b/modules/role/files/analytics_cluster/hadoop/hadoop_hdfs.logrotate
index ea1072c..2d2a943 100644
--- a/modules/role/files/analytics_cluster/hadoop/hadoop_hdfs.logrotate
+++ b/modules/role/files/analytics_cluster/hadoop/hadoop_hdfs.logrotate
@@ -3,6 +3,7 @@
/var/log/hadoop-hdfs/balancer.log {
weekly
rotate 4
+ su root hadoop
missingok
notifempty
nocreate
--
To view, visit https://gerrit.wikimedia.org/r/353014
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Id0b668eb3b36067ecb3b4c83d23651650dfa25f2
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Elukey <[email protected]>
Gerrit-Reviewer: Elukey <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits