[MediaWiki-commits] [Gerrit] add shell account for phuedx and add to mortals - change (operations/puppet)
ArielGlenn has submitted this change and it was merged. Change subject: add shell account for phuedx and add to mortals .. add shell account for phuedx and add to mortals RT #6785 username: phuedx real name: Sam Smith email: samsmith@wm labs user/IRC user: phuedx UID: 3926 matching LDAP team: Growth requested: tin, deploy mediawiki-config, extensions/GettingStarted extensions/GuidedTours deployment works with: Matt Flaschen manager/approved: Terry Chay Change-Id: I42075d6828f287ec51a9b36588e2702a48f95ece key: https://office.wikimedia.org/w/index.php?title=User:SDSmith_%28WMF%29&oldid=106746 --- M manifests/admins.pp 1 file changed, 21 insertions(+), 0 deletions(-) Approvals: ArielGlenn: Looks good to me, approved jenkins-bot: Verified diff --git a/manifests/admins.pp b/manifests/admins.pp index fdc6a90..d39c23f 100644 --- a/manifests/admins.pp +++ b/manifests/admins.pp @@ -3402,6 +3402,26 @@ } } +# RT 6785 +class phuedx inherits baseaccount { +$username = 'phuedx' +$realname = 'Sam Smith' +$uid = 3926 + +unixaccount { $realname: username => $username, uid => $uid, gid => $gid } + +if $manage_home { +Ssh_authorized_key { require => Unixaccount[$realname] } + +ssh_authorized_key { 'samsm...@wikimedia.org': +ensure => present, +user => $username, +type => 'ssh-rsa', +key=> 'B3NzaC1yc2EDAQABAAABAQC9+TJfrksUVwMxt5Oj6NZxacj3UyKQNN+J48r7nF2SSVoH3hOLpXLB5Vep09X2bxyH+1AsqGQKGLW8a5DSTcEhLQ5Rc01GmaV461e51lxJoRRlDtCI6+sqBJRstZVWUrxYeAjAhaif0CWmepySMWytrFrLJuTQ08L+R4XH9uXxWfE+qY6KBjrrOGKS+98E13vYlxegxpctz729ZC0jDrikSNX47lu5us5OTMotaYPOu/lFYO8RUmqQnGNMjoKJjKQJclDZUp9fV3YWPW9XtJR6z1CACJIqng0501bWulMsjw/nWySoJLrh4H99KeLUVSiEWibupoTI6FKO2PC0vrzF', +} +} +} + # FIXME: not an admin. This is more like a system account. class l10nupdate inherits baseaccount { $username = "l10nupdate" @@ -3508,6 +3528,7 @@ include accounts::olivneh # renamed to 'ori' include accounts::pdhanda # access revoked include accounts::pgehres + include accounts::phuedx # granted per RT 6785 include accounts::raindrift # access revoked per RT 3088 include accounts::reedy include accounts::rmoen -- To view, visit https://gerrit.wikimedia.org/r/112150 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I42075d6828f287ec51a9b36588e2702a48f95ece Gerrit-PatchSet: 3 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Dzahn Gerrit-Reviewer: Alexandros Kosiaris Gerrit-Reviewer: ArielGlenn Gerrit-Reviewer: Dzahn Gerrit-Reviewer: Faidon Liambotis Gerrit-Reviewer: Mark Bergsma Gerrit-Reviewer: Phuedx Gerrit-Reviewer: coren Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] add shell account for phuedx and add to mortals - change (operations/puppet)
Dzahn has uploaded a new change for review. https://gerrit.wikimedia.org/r/112150 Change subject: add shell account for phuedx and add to mortals .. add shell account for phuedx and add to mortals RT #6785 username: phuedx real name: Sam Smith email: samsmith@wm labs user/IRC user: phuedx team: Growth requested: tin, deploy mediawiki-config, extensions/GettingStarted extensions/GuidedTours deployment works with: Matt Flaschen manager/approved: Terry Chay Change-Id: I42075d6828f287ec51a9b36588e2702a48f95ece key: https://office.wikimedia.org/w/index.php?title=User:SDSmith_%28WMF%29&oldid=106746 --- M manifests/admins.pp 1 file changed, 21 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/50/112150/1 diff --git a/manifests/admins.pp b/manifests/admins.pp index fa259c2..6e167ac 100644 --- a/manifests/admins.pp +++ b/manifests/admins.pp @@ -3362,6 +3362,26 @@ } } +# RT 6785 +class phuedx inherits baseaccount { +$username = 'phuedx' +$realname = 'Sam Smith' +$uid = 3926 + +unixaccount { $realname: username => $username, uid => $uid, gid => $gid } + +if $manage_home { +Ssh_authorized_key { require => Unixaccount[$realname] } + +ssh_authorized_key { 'samsm...@wikimedia.org': +ensure => present, +user => $username, +type => 'ssh-rsa', +key=> 'B3NzaC1yc2EDAQABAAABAQC9+TJfrksUVwMxt5Oj6NZxacj3UyKQNN+J48r7nF2SSVoH3hOLpXLB5Vep09X2bxyH+1AsqGQKGLW8a5DSTcEhLQ5Rc01GmaV461e51lxJoRRlDtCI6+sqBJRstZVWUrxYeAjAhaif0CWmepySMWytrFrLJuTQ08L+R4XH9uXxWfE+qY6KBjrrOGKS+98E13vYlxegxpctz729ZC0jDrikSNX47lu5us5OTMotaYPOu/lFYO8RUmqQnGNMjoKJjKQJclDZUp9fV3YWPW9XtJR6z1CACJIqng0501bWulMsjw/nWySoJLrh4H99KeLUVSiEWibupoTI6FKO2PC0vrzF', +} +} +} + # FIXME: not an admin. This is more like a system account. class l10nupdate inherits baseaccount { $username = "l10nupdate" @@ -3468,6 +3488,7 @@ include accounts::olivneh # renamed to 'ori' include accounts::pdhanda # access revoked include accounts::pgehres + include accounts::phuedx # igranted per RT 6785 include accounts::raindrift # access revoked per RT 3088 include accounts::reedy include accounts::rmoen -- To view, visit https://gerrit.wikimedia.org/r/112150 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I42075d6828f287ec51a9b36588e2702a48f95ece Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Dzahn ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits