Cmjohnson has submitted this change and it was merged. Change subject: adding ebernhardson to site.pp/admins.pp rt5717 ......................................................................
adding ebernhardson to site.pp/admins.pp rt5717 Change-Id: I40ed8cb578ec66d45c21701241627db2c7163e67 --- M manifests/admins.pp M manifests/site.pp 2 files changed, 23 insertions(+), 1 deletion(-) Approvals: Cmjohnson: Looks good to me, approved RobH: Looks good to me, but someone else must approve jenkins-bot: Verified diff --git a/manifests/admins.pp b/manifests/admins.pp index 1d2b987..49fa462 100644 --- a/manifests/admins.pp +++ b/manifests/admins.pp @@ -3060,6 +3060,26 @@ } } + # RT 5717 + class ebernhardson inherits baseaccount { + $username = 'ebernhardson' + $realname = 'Erik Bernhardson' + $uid = 651 + + unixaccount { $realname: username => $username, uid => $uid, gid => $gid } + + if $manage_home { + Ssh_authorized_key { require => Unixaccount[$realname] } + + ssh_authorized_key { 'ebernhard...@wikimedia.org': + ensure => present, + user => $username, + type => 'ssh-rsa', + key => 'AAAAB3NzaC1yc2EAAAADAQABAAABAQDnafs6VPTCwrVEEqllEMpH6zhLreme1qGFuLxKD5uYQu2OJ01fhxICnswF7uuDrOSs5X9kTyj4zYjoGLHkEbucv3tBunEwYvzbrtRh+WxWkNjBNqhnUkM6T3IxOIpGlXwFxs6rD57i5ZtG2RPdRbOd+NYMjjkR/tELNSwuOfwi0vFeaumqhrbs5Q4XRqcdjPpMxE/BwqqAFA0SU/WeU5ewifF+FedAwYp5LRaeGmgWt0wuRnTjib8xxyyoH8ZJa79bYHK1CSWo4HU/EPsFdAgTWhrX59UQwOWTFOztQKU6zUc50bfh3cpv3wQ/4+VXFWG4J6XMdL4jLVxZwhCebYn', + } + } + } + # FIXME: not an admin. This is more like a system account. class l10nupdate inherits baseaccount { $username = "l10nupdate" @@ -3164,6 +3184,7 @@ include accounts::tfinc # move from roots RT 5485 include accounts::yurik #rt 4835, rt 5069 include accounts::zak # access revoked + include accounts::ebernhardson #RT 5717 } class admins::restricted { diff --git a/manifests/site.pp b/manifests/site.pp index a6c5cd4..df1a0d7 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -2600,7 +2600,8 @@ accounts::qchris, # RT 5474 accounts::tnegrin, # RT 5391 accounts::kwang, # RT 5520 - accounts::siebrand # RT 5726 + accounts::siebrand, # RT 5726 + accounts::ebernhardson # RT 5717 sudo_user { "otto": privileges => ['ALL = NOPASSWD: ALL'] } -- To view, visit https://gerrit.wikimedia.org/r/84854 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I40ed8cb578ec66d45c21701241627db2c7163e67 Gerrit-PatchSet: 2 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Cmjohnson <cmjohn...@wikimedia.org> Gerrit-Reviewer: Cmjohnson <cmjohn...@wikimedia.org> Gerrit-Reviewer: RobH <r...@wikimedia.org> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits