Dzahn has uploaded a new change for review.

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


Change subject: create stat1 shell account for Nuria Ruiz
......................................................................

create stat1 shell account for Nuria Ruiz

requestor: Nuria Ruiz
reasoning: needs it as a member of the analytics team
approver: Toby Negrin

ticket: RT #6525

UID: 4193
LDAP user: nuria
office wiki user: NRuiz (WMF)
email: [email protected]

link to key creation revision:
https://office.wikimedia.org/w/index.php?title=User:NRuiz_%28WMF%29&oldid=103698

Change-Id: If90ab04e595d1e355fc0812df34a99096fbf3314
---
M manifests/admins.pp
M manifests/site.pp
2 files changed, 22 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/51/102551/1

diff --git a/manifests/admins.pp b/manifests/admins.pp
index 6c9f696..a7cbf0a 100644
--- a/manifests/admins.pp
+++ b/manifests/admins.pp
@@ -3192,6 +3192,26 @@
         }
     }
 
+    # RT 6525
+    class nuria inherits baseaccount {
+        $username = 'nuria'
+        $realname = 'Nuria Ruiz'
+        $uid      = 4193
+
+        unixaccount { $realname: username => $username, uid => $uid, gid => 
$gid }
+
+        if $manage_home {
+            Ssh_authorized_key { require => Unixaccount[$realname] }
+
+            ssh_authorized_key { '[email protected]':
+                ensure => present,
+                user   => $username,
+                type   => 'ssh-rsa',
+                key    => 
'AAAAB3NzaC1yc2EAAAADAQABAAABAQC5UHmmvoplLSsc7WH0xijDJiWzs5LaVkIoi+yWBfHta17lGUfRCsE8DTQCe30k959gKGDBP2sI1srmKtgSMNIfQTOG7rt2/qZCYkrU6xA3XSFVi73zUHOyIzG41XO5F36uF7HVNKnxhkoxWkUpZ1tv5f2PEUUhBznH0JQw9BRrWbBqah9m8o8MTFDkeJuK3HgMhUzwg25t0LZAajaK4Mc3Bocdv1uzs+RxswyOWgJqPxQY+75bG+/rZ+n0bETKkDoy6ZmCiVw4PSBCX0zGWHrZQ89FzoUdM59hKSu/xnkOV/PO92iT22Pzd6NKgbAxrwXDteuUh0+6cL5du4pwH5cr',
+            }
+        }
+    }
+
        # FIXME: not an admin. This is more like a system account.
        class l10nupdate inherits baseaccount {
                $username = "l10nupdate"
diff --git a/manifests/site.pp b/manifests/site.pp
index 0843c2d..d2026fa 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -2499,7 +2499,8 @@
         accounts::kwang,     # RT 5520
         accounts::siebrand,  # RT 5726
         accounts::mholmquist,# RT 6009
-        accounts::msyed      # RT 6506
+        accounts::msyed,     # RT 6506
+        accounts::nuria      # RT 6525
 
     sudo_user { "otto":   privileges => ['ALL = NOPASSWD: ALL'] }
 

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

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

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

Reply via email to