Dzahn has submitted this change and it was merged.
Change subject: admin: create group striker-users, add b808
......................................................................
admin: create group striker-users, add b808
Create a new group called "striker-users".
("striker-users" if it doesn't need sudo/privileges line,
"-admins" if it needs some specific commands with sudo
and "-roots" if "ALL ALL" is requested.)
Add the new group in the existing yaml file in Hiera
matching the role striker::web.
User bd808 gets added into the group to give him
access to host californium, the only user of the striker role.
Bug: T151424
Change-Id: I1fb88e858120d8dcce311fb59ebcad33952d890f
---
M hieradata/role/common/striker/web.yaml
M modules/admin/data/data.yaml
2 files changed, 7 insertions(+), 1 deletion(-)
Approvals:
jenkins-bot: Verified
Dzahn: Looks good to me, approved
diff --git a/hieradata/role/common/striker/web.yaml
b/hieradata/role/common/striker/web.yaml
index f9bc316..49426fd 100644
--- a/hieradata/role/common/striker/web.yaml
+++ b/hieradata/role/common/striker/web.yaml
@@ -2,6 +2,9 @@
memcached::ip: 127.0.0.1
nginx::variant: light
+admin::groups:
+ - striker-users
+
striker::apache::server_name: toolsadmin.wikimedia.org
striker::apache::docroot: /srv/deployment/striker/deploy/public_html
striker::apache::servers:
diff --git a/modules/admin/data/data.yaml b/modules/admin/data/data.yaml
index 7d4ef8d..5d3c946 100644
--- a/modules/admin/data/data.yaml
+++ b/modules/admin/data/data.yaml
@@ -580,7 +580,10 @@
'ALL = NOPASSWD: /bin/systemctl restart zookeeper.service',
'ALL = NOPASSWD: /bin/systemctl mask zookeeper.service',
'ALL = NOPASSWD: /bin/systemctl unmask zookeeper.service']
-
+ striker-users:
+ description: group of Striker users (T151424)
+ gid: 789
+ members: [bd808]
users:
rush:
ensure: present
--
To view, visit https://gerrit.wikimedia.org/r/323121
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I1fb88e858120d8dcce311fb59ebcad33952d890f
Gerrit-PatchSet: 6
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>
Gerrit-Reviewer: Alex Monk <[email protected]>
Gerrit-Reviewer: Andrew Bogott <[email protected]>
Gerrit-Reviewer: BryanDavis <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: Volans <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits