Dzahn has uploaded a new change for review.

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

Change subject: add account for Dmitry Brant
......................................................................

add account for Dmitry Brant

for access: stat1003/releases (done separately)

requestor: Yuvi
approved by: Tomasz

UID: 4910 / user: dbrant (match LDAP)

RT #7399

ssh key:
https://office.wikimedia.org/w/index.php?title=User:DBrant_%28WMF%29&oldid=110611

Change-Id: I3126b11f34021306d04c528925bb7d156dc7a27a
---
M manifests/admins.pp
1 file changed, 20 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/24/132024/1

diff --git a/manifests/admins.pp b/manifests/admins.pp
index f6f080f..46c6a4d 100644
--- a/manifests/admins.pp
+++ b/manifests/admins.pp
@@ -3739,6 +3739,26 @@
         }
     }
 
+    # RT 7399
+    class dbrant inherits baseaccount {
+        $username = 'dbrant'
+        $realname = 'Dmitry Brant'
+        $uid      = '4910'
+
+        unixaccount { $realname: username => $username, uid => $uid, gid => 
$gid }
+
+        if $manage_home {
+            Ssh_authorized_key { require => Unixaccount[$realname] }
+
+            ssh_authorized_key { 'dbr...@wikimedia.org':
+                ensure => 'present',
+                user   => $username,
+                type   => 'ssh-rsa',
+                key    => 
'AAAAB3NzaC1yc2EAAAABIwAAAQEA4PobkGWos52aZE41QWS7nrTam3UQ1Fbyt3PoNoUKHneK1wNpBL0EfRtKW4lAX61ntxOIPCFVRxMok8TXnDb3ZbVa++Fqn89ts6iqfWlH34MxGYS5pxvdrdjExeREQ7d70gsEOv9RZlb/qchuamxHqLsptQSpiy2miPWTkRuNsbAJrFw8K5GiLqr60sBrsLlVbsEdbbtaz4itvWYLN3qAKgk5O24AT8lGeTsTAVpfMDcLR+omRoLs/eRNGifVfDslwp9F/rpNCvpSan4wfvF5Tsuc/lw3Wgc36LOiyw5o7C0NSWZzwmYCNj5vkPPF7IwoK3DhYYjPOf5WNCtPvN9utQ==',
+            }
+        }
+    }
+
 # / end regular (human) users
 
     # FIXME: not an admin. This is more like a system account.

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3126b11f34021306d04c528925bb7d156dc7a27a
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <dz...@wikimedia.org>

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

Reply via email to