Ottomata has submitted this change and it was merged.

Change subject: Creating account for Charles Salvia and granting access to 
analytics and stat nodes
......................................................................


Creating account for Charles Salvia and granting access to analytics and stat 
nodes

RT 6664

Change-Id: I73f1ee01224332aaabea2e595fc23beb28738941
---
M manifests/admins.pp
M manifests/role/analytics.pp
M manifests/site.pp
3 files changed, 29 insertions(+), 3 deletions(-)

Approvals:
  Ottomata: Verified; Looks good to me, approved
  jenkins-bot: Verified



diff --git a/manifests/admins.pp b/manifests/admins.pp
index c719616..2cbe282 100644
--- a/manifests/admins.pp
+++ b/manifests/admins.pp
@@ -3314,6 +3314,27 @@
     }
 
 
+    # RT 6664
+    class csalvia inherits baseaccount {
+        $username = 'csalvia'
+        $realname = 'Charles Salvia'
+        $uid      = 4207
+
+        unixaccount { $realname: username => $username, uid => $uid, gid => 
$gid }
+
+        if $manage_home {
+            Ssh_authorized_key { require => Unixaccount[$realname] }
+
+            ssh_authorized_key { 'char...@hailoo.com':
+                ensure => present,
+                user   => $username,
+                type   => 'ssh-rsa',
+                key    => 
'AAAAB3NzaC1yc2EAAAADAQABAAABAQCjGSS/3k++mudvR5wrGYhLPYa/RQbtURNRhgjYA7lx9dPg6lKilQliaOMhKOxlwKDRCzNZNSz5CGG9Ype6dFrZf/c1nxF6D3YwD07eOITIy85qD7nGmFKTG2+olbwbvl0liC85AQv1Xi6C4QxL2za/t3iXb10XA7EJ0GXYKLp2nfFQ4FkR5+teFqgKpH+gd9SswiefW97HcTvuURc4n4YIC+WZJhD5majNV9Ben5QJe/qz+GnAfGSsKxMWlRRnevx7VP3KfFy9+6Lzj4Gspq+V+34UTlvY6VK4cL37UG/53dfBLgpMVgWQ0G7sooHw2xj//7fVMpAd+ipMQzDabEJ/',
+            }
+        }
+    }
+
+
        # FIXME: not an admin. This is more like a system account.
        class l10nupdate inherits baseaccount {
                $username = "l10nupdate"
@@ -3460,6 +3481,7 @@
        include accounts::ssastry # RT 5512
        include accounts::ironholds # RT 5935
        include accounts::nuria # RT 6535
+       include accounts::csalvia # RT 6664
 }
 
 class admins::labs {
@@ -3517,7 +3539,8 @@
                accounts::abaso,        # RT 5446
                accounts::qchris,       # RT 5474
                accounts::tnegrin,      # RT 5391
-               accounts::nuria         # RT 6617
+               accounts::nuria,        # RT 6617
+               accounts::csalvia       # RT 6664
 }
 
 class admins::fr-tech {
diff --git a/manifests/role/analytics.pp b/manifests/role/analytics.pp
index 0623a48..0cb6709 100644
--- a/manifests/role/analytics.pp
+++ b/manifests/role/analytics.pp
@@ -68,7 +68,8 @@
         accounts::ironholds, # RT 5831
         accounts::dartar,    # RT 5835
         accounts::halfak,    # RT 5836
-        accounts::ypanda     # RT 6103
+        accounts::ypanda,    # RT 6103
+        accounts::csalvia    # RT 6664
 
     # NOTE:  If you are filling an RT request for Hadoop access,
     # you will need to add the user to the list of accounts above,
@@ -93,6 +94,7 @@
     User<|title == spetrea|>     { groups +> [ 'stats' ] }
     User<|title == abaso|>       { groups +> [ 'stats' ] }
     User<|title == qchris|>      { groups +> [ 'stats' ] }
+    User<|title == csalvia|>     { groups +> [ 'stats' ] }
 
     # Diederik and Otto have sudo privileges on Analytics nodes.
     sudo_user { [ 'diederik', 'otto' ]: privileges => ['ALL = (ALL) NOPASSWD: 
ALL'] }
diff --git a/manifests/site.pp b/manifests/site.pp
index 5322c73..9285dd5 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -2295,7 +2295,8 @@
         accounts::siebrand,  # RT 5726
         accounts::mholmquist,# RT 6009
         accounts::msyed,     # RT 6506
-        accounts::nuria      # RT 6525
+        accounts::nuria,     # RT 6525
+        accounts::csalvia    # RT 6664
 
     sudo_user { "otto":   privileges => ['ALL = NOPASSWD: ALL'] }
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I73f1ee01224332aaabea2e595fc23beb28738941
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ottomata <o...@wikimedia.org>
Gerrit-Reviewer: Ottomata <o...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to