Giuseppe Lavagetto has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/251469

Change subject: redis: install two additional redis servers
......................................................................

redis: install two additional redis servers

These are old lsearchd boxes we're repurposing temporarily, while we
wait for the new hardware.

Bug: T117916
Change-Id: I7c2263aeae2dd38f3066b8dedeaca944cf64d2c4
---
A hieradata/hosts/rdb1007.yaml
A hieradata/hosts/rdb1008.yaml
M hieradata/role/common/db/redis.yaml
M manifests/site.pp
4 files changed, 4 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/69/251469/1

diff --git a/hieradata/hosts/rdb1007.yaml b/hieradata/hosts/rdb1007.yaml
new file mode 100644
index 0000000..315f3cd
--- /dev/null
+++ b/hieradata/hosts/rdb1007.yaml
@@ -0,0 +1 @@
+role::db::redis::dir: "/srv/redis"
diff --git a/hieradata/hosts/rdb1008.yaml b/hieradata/hosts/rdb1008.yaml
new file mode 100644
index 0000000..315f3cd
--- /dev/null
+++ b/hieradata/hosts/rdb1008.yaml
@@ -0,0 +1 @@
+role::db::redis::dir: "/srv/redis"
diff --git a/hieradata/role/common/db/redis.yaml 
b/hieradata/role/common/db/redis.yaml
index c74109b..4e6f695 100644
--- a/hieradata/role/common/db/redis.yaml
+++ b/hieradata/role/common/db/redis.yaml
@@ -2,4 +2,5 @@
 role::db::redis::redis_replication:
   rdb1002: rdb1001
   rdb1004: rdb1003
+  rdb1008: rdb1007
 role::db::redis::dir: "/a/redis"
diff --git a/manifests/site.pp b/manifests/site.pp
index c2e421a..49c2db5 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -2240,7 +2240,7 @@
     role rcstream
 }
 
-node /^rdb100[1-4]\.eqiad\.wmnet/ {
+node /^rdb101[0-9]\.eqiad\.wmnet/ {
     role db::redis
 }
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7c2263aeae2dd38f3066b8dedeaca944cf64d2c4
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Giuseppe Lavagetto <glavage...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to