Elukey has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/309544

Change subject: Test graphite-web's internal logrotation
......................................................................

Test graphite-web's internal logrotation

This is a proposal for a test to see how graphite-web's
internal log rotation (fixed and not exposed) behaves, since
it conflicts with logrotate.

Bug: T144797
Change-Id: If9a6b75f8bc5ed6508b3b891b2d79f7afb88c142
---
M modules/graphite/manifests/web.pp
1 file changed, 9 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/44/309544/1

diff --git a/modules/graphite/manifests/web.pp 
b/modules/graphite/manifests/web.pp
index 9f15e2a..264cff1 100644
--- a/modules/graphite/manifests/web.pp
+++ b/modules/graphite/manifests/web.pp
@@ -145,13 +145,16 @@
         require => File['/usr/local/sbin/graphite-auth'],
     }
 
+    # Bug: T144797 - graphite-web cronspam
+    # This is a test to see how graphite-web's internal log rotation works,
+    # because logrotate conflicts with it.
     file { '/etc/logrotate.d/graphite-web':
-        ensure  => present,
-        mode    => '0444',
-        owner   => 'root',
-        group   => 'root',
-        source  => 'puppet:///modules/graphite/graphite-web-logrotate',
-        require => File['/var/log/graphite-web'],
+        ensure  => absent,
+        #mode    => '0444',
+        #owner   => 'root',
+        #group   => 'root',
+        #source  => 'puppet:///modules/graphite/graphite-web-logrotate',
+        #require => File['/var/log/graphite-web'],
     }
 
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/309544
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If9a6b75f8bc5ed6508b3b891b2d79f7afb88c142
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Elukey <ltosc...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to