Alexandros Kosiaris has uploaded a new change for review.
https://gerrit.wikimedia.org/r/278759
Change subject: Add the role::ores::redis class to oresdb100{1,2}
......................................................................
Add the role::ores::redis class to oresdb100{1,2}
Introduce oresdb1001, oresdb1002, assigning the roles::ores::redis class
to them and set via hiera oresdb1002 to be a slaveof oresdb1001
Bug: T125562
Change-Id: I6a34ac7c176309475ca193294abe443836153121
---
A hieradata/hosts/oresdb1002.yaml
M manifests/site.pp
2 files changed, 6 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/59/278759/1
diff --git a/hieradata/hosts/oresdb1002.yaml b/hieradata/hosts/oresdb1002.yaml
new file mode 100644
index 0000000..780bda5
--- /dev/null
+++ b/hieradata/hosts/oresdb1002.yaml
@@ -0,0 +1 @@
+ores::redis::slaveof: oresdb1001.eqiad.wmnet
diff --git a/manifests/site.pp b/manifests/site.pp
index 54df25e..9ed319b 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -2213,6 +2213,11 @@
role ocg
}
+node /^oresdb100[12]\.eqiad\.wmnet$/ {
+ role ores::redis
+ include ::standard
+}
+
# VisualEditor performance testing rig
node 'osmium.eqiad.wmnet' {
role ve
--
To view, visit https://gerrit.wikimedia.org/r/278759
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6a34ac7c176309475ca193294abe443836153121
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alexandros Kosiaris <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits