Elukey has uploaded a new change for review. ( 
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(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/14/353014/1

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: newchange
Gerrit-Change-Id: Id0b668eb3b36067ecb3b4c83d23651650dfa25f2
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Elukey <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to