Asher has uploaded a new change for review.

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


Change subject: building db1059 - to be the new s4 master which switching to 
mariadb, upgrading db1020
......................................................................

building db1059 - to be the new s4 master which switching to mariadb, upgrading 
db1020

Change-Id: I6cb618f837dc85b7e7e97f7b2f89d4c89ead210b
---
M manifests/role/coredb.pp
M manifests/site.pp
2 files changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/93/62093/1

diff --git a/manifests/role/coredb.pp b/manifests/role/coredb.pp
index d9bd150..4fe4341 100644
--- a/manifests/role/coredb.pp
+++ b/manifests/role/coredb.pp
@@ -34,7 +34,7 @@
                },
                's4' => {
                        'hosts' => { 'pmtpa' => [ 'db31', 'db51', 'db65', 
'db72' ],
-                               'eqiad' => [ 'db1004', 'db1011', 'db1020', 
'db1038' ] },
+                               'eqiad' => [ 'db1004', 'db1011', 'db1020', 
'db1038', 'db1059' ] },
                        'primary_site' => $::mw_primary,
                        'masters' => { 'pmtpa' => "db31", 'eqiad' => "db1038" },
                        'snapshot' => [ "db65", "db1020" ],
diff --git a/manifests/site.pp b/manifests/site.pp
index c1e1177..1ddedb5 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -573,8 +573,8 @@
        }
 }
 
-node /^db10(04|11|20|38)\.eqiad\.wmnet/ {
-       if $hostname =~ /^db10(04|11)/ {
+node /^db10(04|11|20|38|59)\.eqiad\.wmnet/ {
+       if $hostname =~ /^db10(04|11|20|59)/ {
                class { role::coredb::s4 : mariadb => true }
        } else {
                include role::coredb::s4

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6cb618f837dc85b7e7e97f7b2f89d4c89ead210b
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Asher <afeld...@wikimedia.org>

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

Reply via email to