Jgreen has uploaded a new change for review.

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

Change subject: hack horribly to make it possible for coders to read 
ocg-related logs, ref. RT 7596
......................................................................

hack horribly to make it possible for coders to read ocg-related logs, ref. RT 
7596

Change-Id: I11a55e2fc4dc7880708d045227551c802997e10a
---
M modules/ocg/manifests/init.pp
1 file changed, 7 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/46/148446/1

diff --git a/modules/ocg/manifests/init.pp b/modules/ocg/manifests/init.pp
index 987ff2e..8e3281d 100644
--- a/modules/ocg/manifests/init.pp
+++ b/modules/ocg/manifests/init.pp
@@ -188,6 +188,13 @@
         mode    => '0664',
     }
 
+       # horrible hack to work around the fact that we can't currently add 
users to
+       # group 'adm' alongside system user 'syslog', see RT: 7596
+       class { 'base::syslogs':
+               readable => true,
+       }
+       syslogs::readable { 'ocg/ocg.log': }
+
     file { '/etc/logrotate.d/ocg':
         ensure  => present,
         source  => 'puppet:///modules/ocg/logrotate',

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I11a55e2fc4dc7880708d045227551c802997e10a
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Jgreen <[email protected]>

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

Reply via email to