BryanDavis has uploaded a new change for review.

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


Change subject: Shell access for Bryan Davis.
......................................................................

Shell access for Bryan Davis.

Engineer in MediaWiki Core team reporting to RobLa.

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


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/64/86764/1

diff --git a/manifests/admins.pp b/manifests/admins.pp
index 6f08faa..45ac6a8 100644
--- a/manifests/admins.pp
+++ b/manifests/admins.pp
@@ -316,6 +316,27 @@
                }
        }
 
+       class bd808 inherits baseaccount {
+               $username = "bd808"
+               $realname = "Bryan Davis"
+               $uid = 652
+               $enabled = true
+
+               unixaccount { $realname: username => $username, uid => $uid, 
gid => $gid }
+
+                       if $enabled == true and $manage_home {
+                               Ssh_authorized_key { require => 
Unixaccount[$realname]}
+
+                               ssh_authorized_key {
+                               "[email protected]":
+                                       ensure  => present,
+                                       user    => $username,
+                                       type    => "ssh-rsa",
+                                       key     => 
"AAAB3NzaC1yc2EAAAADAQABAAABAQCdtHX29Vcd5n950X3H11kAbQdmKTCJvOOclRKkaXGofp6UuCzgbbdK4Lfvz3cZ2dH9Kvv6M+Yf2uzh6XN470XxXIP91IzA7lVcaMV0sjOuhZKSvqe0NlA4kN/uytHGcfmBxlYAM+b1RxtveXTle3vVWefo1SkQ4fHteA8U/WWXhQ11HnCGd/ZAuiPTf4Fyfe5HFY6y4ECj7zTBEX6I6m2vDyJB7vsthfsmjWbll5Nr+wpcEp2ILVYdp+N+BUhHLkH4C6pivdxpAZQMSpACPPI7Bs+2Fmr08aVnaYKSFC6eZAFogf2lQ3l1oUVBhJRO4OX++E3TNEHNmJ6FeHD4acFv";
+                       }
+               }
+       }
+
        class brion inherits baseaccount {
                $username = "brion"
                $realname = "Brion Vibber"
@@ -3134,6 +3155,7 @@
        include accounts::anomie
        include accounts::awight
        include accounts::awjrichards
+       include accounts::bd808
        include accounts::bsitu
        include accounts::cmcmahon
        include accounts::csteipp

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

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

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

Reply via email to