RobH has submitted this change and it was merged.

Change subject: Add user for jforrester and grant access to stat1
......................................................................


Add user for jforrester and grant access to stat1

James is sitting next to me as I am making this commit, so I can vouch for the
authenticity of the key.

RT 5302

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

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



diff --git a/manifests/admins.pp b/manifests/admins.pp
index 985f155..3ecd6a7 100644
--- a/manifests/admins.pp
+++ b/manifests/admins.pp
@@ -2830,6 +2830,27 @@
                }
        }
 
+       # RT 5302
+       class jforrester inherits baseaccount {
+               $username = "jforrester"
+               $realname = "James D. Forrester"
+               $uid = 643
+
+               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    => 
"AAAAB3NzaC1yc2EAAAADAQABAAABAQCsgEkgi7ceiRLCeBABExyA1qiFS7t0Lxs+vQndqRTukAooT16araiKSudavjr78qUAXeerSvuNm2dlQR2Bv6DZLumwPi2mFZA52LhlCm5Bj8GKSpwc9lVVWrrtjwCb8Qv+cZXquhvxMj3L0prfeMbXzkpbOBVK8J5bVIRSewVBsammz5nzd6myqeL0Z1BXiX6ihKeIjSyyiy6REWuIO5cBt3IJn6o/9IKei+Fm2UbXKegRFyOPPjXOiTItLG7iR0DI3PNT+FFAqjMXQKzQMbm8Lj0/hQIq8ViyA6xai6VDPtnFsmvKi+z8q6jZP/Omvf+5TKF5evttguYF9SrbmUrb",
+                       }
+               }
+       }
+
        # RT 4959
        class lwelling inherits baseaccount {
                $username = "lwelling"
diff --git a/manifests/site.pp b/manifests/site.pp
index 6d1653a..8cd373f 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -2618,7 +2618,8 @@
                accounts::swalling,  # RT 3653
                accounts::yurik,     # RT 4835
                accounts::mwalker,   # RT 5038
-               accounts::awight     # RT 5048
+               accounts::awight,    # RT 5048
+               accounts::jforrester # RT 5302
 
        sudo_user { "otto": privileges => ['ALL = NOPASSWD: ALL'] }
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie01bdbfbc6566167742cdd36c841674988a26e90
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ori.livneh <[email protected]>
Gerrit-Reviewer: Jforrester <[email protected]>
Gerrit-Reviewer: RobH <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to