Alexandros Kosiaris has submitted this change and it was merged.
Change subject: Apply the role::ores::redis class to oresdb100{1,2}
......................................................................
Apply 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/oresrdb1002.yaml
M manifests/site.pp
2 files changed, 6 insertions(+), 0 deletions(-)
Approvals:
Alexandros Kosiaris: Verified; Looks good to me, approved
diff --git a/hieradata/hosts/oresrdb1002.yaml b/hieradata/hosts/oresrdb1002.yaml
new file mode 100644
index 0000000..110ef82
--- /dev/null
+++ b/hieradata/hosts/oresrdb1002.yaml
@@ -0,0 +1 @@
+ores::redis::slaveof: oresrdb1001
diff --git a/manifests/site.pp b/manifests/site.pp
index b48c0a5..775640a 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -2203,6 +2203,11 @@
role ocg
}
+node /^oresrdb100[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: merged
Gerrit-Change-Id: I6a34ac7c176309475ca193294abe443836153121
Gerrit-PatchSet: 11
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alexandros Kosiaris <[email protected]>
Gerrit-Reviewer: Alexandros Kosiaris <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits