Dzahn has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/355463 )

Change subject: WMCS: add access for bryan davis
......................................................................


WMCS: add access for bryan davis

- wmcs-roots to labstore*
- wmcs-admin (new) to labsdb* replicas

Bug: T166310
Change-Id: I59c44ea0abdd9ad02ad65cb9080410c6f759ff3b
---
M hieradata/role/common/labs/db/replica.yaml
M hieradata/role/common/labs/nfs/backup.yaml
M hieradata/role/common/labs/nfs/misc.yaml
M hieradata/role/common/labs/nfs/primary.yaml
M hieradata/role/common/labs/nfs/secondary.yaml
M modules/admin/data/data.yaml
6 files changed, 19 insertions(+), 0 deletions(-)

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



diff --git a/hieradata/role/common/labs/db/replica.yaml 
b/hieradata/role/common/labs/db/replica.yaml
index 47802e8..91d3ce4 100644
--- a/hieradata/role/common/labs/db/replica.yaml
+++ b/hieradata/role/common/labs/db/replica.yaml
@@ -1,3 +1,6 @@
 debdeploy::grains:
   debdeploy-labsdb:
     value: standard
+
+admin::groups:
+  - wmcs-admin
diff --git a/hieradata/role/common/labs/nfs/backup.yaml 
b/hieradata/role/common/labs/nfs/backup.yaml
index ee2eae6..7f448d3 100644
--- a/hieradata/role/common/labs/nfs/backup.yaml
+++ b/hieradata/role/common/labs/nfs/backup.yaml
@@ -10,3 +10,5 @@
 debdeploy::grains:
   debdeploy-labsnfs:
     value: standard
+admin::groups:
+  - wmcs-roots
diff --git a/hieradata/role/common/labs/nfs/misc.yaml 
b/hieradata/role/common/labs/nfs/misc.yaml
index dd84055..25a1090 100644
--- a/hieradata/role/common/labs/nfs/misc.yaml
+++ b/hieradata/role/common/labs/nfs/misc.yaml
@@ -27,3 +27,5 @@
 debdeploy::grains:
   debdeploy-labsnfs:
     value: standard
+admin::groups:
+  - wmcs-roots
diff --git a/hieradata/role/common/labs/nfs/primary.yaml 
b/hieradata/role/common/labs/nfs/primary.yaml
index 9c55dac..ff2dcf0 100644
--- a/hieradata/role/common/labs/nfs/primary.yaml
+++ b/hieradata/role/common/labs/nfs/primary.yaml
@@ -15,3 +15,6 @@
     value: standard
 
 openstack::version: mitaka
+
+admin::groups:
+  - wmcs-roots
diff --git a/hieradata/role/common/labs/nfs/secondary.yaml 
b/hieradata/role/common/labs/nfs/secondary.yaml
index 9c55dac..ff2dcf0 100644
--- a/hieradata/role/common/labs/nfs/secondary.yaml
+++ b/hieradata/role/common/labs/nfs/secondary.yaml
@@ -15,3 +15,6 @@
     value: standard
 
 openstack::version: mitaka
+
+admin::groups:
+  - wmcs-roots
diff --git a/modules/admin/data/data.yaml b/modules/admin/data/data.yaml
index 5e0f1e0..e5c3cbd 100644
--- a/modules/admin/data/data.yaml
+++ b/modules/admin/data/data.yaml
@@ -596,6 +596,12 @@
     gid: 792
     members: [bd808]
     privileges: ['ALL = (ALL) NOPASSWD: ALL']
+  wmcs-admin:
+    description: admin for cloud services infrastructure (labsdb only atm)
+    gid: 793
+    members: [bd808]
+    privileges: ['ALL = (ALL) NOPASSWD: /usr/local/sbin/maintain-views',
+                 'ALL = (ALL) NOPASSWD: /usr/local/sbin/maintain-meta_p']
 
 users:
   rush:

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I59c44ea0abdd9ad02ad65cb9080410c6f759ff3b
Gerrit-PatchSet: 7
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: BryanDavis <[email protected]>
Gerrit-Reviewer: Andrew Bogott <[email protected]>
Gerrit-Reviewer: BryanDavis <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: Giuseppe Lavagetto <[email protected]>
Gerrit-Reviewer: Jcrespo <[email protected]>
Gerrit-Reviewer: Madhuvishy <[email protected]>
Gerrit-Reviewer: Rush <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to