Matanya has uploaded a new change for review.

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

Change subject: admins: move otto to class admin rather than sudo_user
......................................................................

admins: move otto to class admin rather than sudo_user

Change-Id: Idbbd4240d01abddadc430e28fbe0a22a83785078
---
M manifests/site.pp
1 file changed, 5 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/94/134794/1

diff --git a/manifests/site.pp b/manifests/site.pp
index 4ca73e7..6bf0cb8 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -2403,9 +2403,10 @@
     include accounts::qchris   # RT 5474
     include accounts::tnegrin  # RT 5391
 
-    sudo_user { 'otto':
-        privileges => ['ALL = NOPASSWD: ALL'],
+    class { 'admin':
+        groups => 'analytics-root'
     }
+
 }
 
 node 'stat1002.eqiad.wmnet' {
@@ -2429,8 +2430,8 @@
     User<|title == spetrea|>     { groups +> [ 'stats' ] }
     User<|title == ironholds|>   { groups +> [ 'stats' ] }
 
-    sudo_user { 'otto':
-        privileges => ['ALL = NOPASSWD: ALL'],
+    class { 'admin':
+        groups => 'analytics-root'
     }
 
     # include classes needed for storing and crunching

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Idbbd4240d01abddadc430e28fbe0a22a83785078
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya <mata...@foss.co.il>

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

Reply via email to