Pyoungmeister has uploaded a new change for review.

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


Change subject: adding db74 to pmtpa s5 until
......................................................................

adding db74 to pmtpa s5 until

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


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/04/62104/1

diff --git a/manifests/role/coredb.pp b/manifests/role/coredb.pp
index d9bd150..c32dd67 100644
--- a/manifests/role/coredb.pp
+++ b/manifests/role/coredb.pp
@@ -41,7 +41,7 @@
                        'no_master' => []
                },
                's5' => {
-                       'hosts' => { 'pmtpa' => [ 'db44', 'db45', 'db55', 
'db73' ],
+                       'hosts' => { 'pmtpa' => [ 'db44', 'db45', 'db55', 
'db73', 'db74' ],
                                'eqiad' => [ 'db1005', 'db1021', 'db1026', 
'db1039', 'db1058' ] },
                        'primary_site' => $::mw_primary,
                        'masters' => { 'pmtpa' => "db73", 'eqiad' => "db1058" },
diff --git a/manifests/site.pp b/manifests/site.pp
index d02ffc9..2691c03 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -446,10 +446,10 @@
        }
 }
 
-node /^db(44|45|55|73)\.pmtpa\.wmnet/ {
+node /^db(44|45|55|73|74)\.pmtpa\.wmnet/ {
        if $hostname == "db44" {
                class { role::coredb::s5 : mariadb => true }
-       } elsif $hostname =~ /^db(55|73)/{
+       } elsif $hostname =~ /^db(55|73|74)/{
                class { role::coredb::s5 : mariadb => true, 
innodb_file_per_table => true }
        } else {
                include role::coredb::s5
@@ -538,13 +538,13 @@
 
 
 ## not in use for various reasons
-node /^db(42|6[12]|7[4-7])\.pmtpa\.wmnet/{
+node /^db(42|6[12]|7[5-7])\.pmtpa\.wmnet/{
        include standard
 }
 
 # eqiad dbs
 node /^db10(17|42|43|49|50|51|52|56)\.eqiad\.wmnet/ {
-       if $hostname =~ /^db10(01|17|56)/ {
+       if $hostname =~ /^db10(17|56)/ {
                $ganglia_aggregator = true
                include mha::manager
        }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I38a56f93e4bcceecafddea8436c3f874ac530342
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Pyoungmeister <p...@wikimedia.org>

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

Reply via email to