Dzahn has uploaded a new change for review.
https://gerrit.wikimedia.org/r/248928
Change subject: test multi-role admin group behaviour
......................................................................
test multi-role admin group behaviour
Testing what happens if one node gets multiple
admin groups from multiple roles, using role/common
, in response to the question on Id553cc38820e6d7b9.
Change-Id: Ib75956186d9c0a5e814fda737272532010dbaeb1
---
A hieradata/role/common/test_bar.yaml
A hieradata/role/common/test_foo.yaml
M manifests/site.pp
3 files changed, 5 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/28/248928/1
diff --git a/hieradata/role/common/test_bar.yaml
b/hieradata/role/common/test_bar.yaml
new file mode 100644
index 0000000..101a796
--- /dev/null
+++ b/hieradata/role/common/test_bar.yaml
@@ -0,0 +1,2 @@
+admin::groups:
+ - snapshot-admins
diff --git a/hieradata/role/common/test_foo.yaml
b/hieradata/role/common/test_foo.yaml
new file mode 100644
index 0000000..7bddf05a
--- /dev/null
+++ b/hieradata/role/common/test_foo.yaml
@@ -0,0 +1,2 @@
+admin::groups:
+ - chromium-admin
diff --git a/manifests/site.pp b/manifests/site.pp
index b85f0e8..0d642bd 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -1333,7 +1333,7 @@
node 'lead.wikimedia.org' {
- role spare
+ role spare, test_foo, test_bar
interface::add_ip6_mapped { 'main': }
}
--
To view, visit https://gerrit.wikimedia.org/r/248928
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib75956186d9c0a5e814fda737272532010dbaeb1
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits