Jgreen has uploaded a new change for review.
https://gerrit.wikimedia.org/r/61814
Change subject: deploy db1013 as temporary replacement for db1025
......................................................................
deploy db1013 as temporary replacement for db1025
Change-Id: I4a0d039e9d2917796ae6ca4e10876d79ee4b81fc
---
M files/misc/scripts/dump_fundraisingdb
M manifests/mysql.pp
M manifests/site.pp
3 files changed, 4 insertions(+), 3 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/14/61814/1
diff --git a/files/misc/scripts/dump_fundraisingdb
b/files/misc/scripts/dump_fundraisingdb
index f6b38a3..f04fe10 100755
--- a/files/misc/scripts/dump_fundraisingdb
+++ b/files/misc/scripts/dump_fundraisingdb
@@ -8,6 +8,7 @@
'LOCALDIR' => '/a/archive/database_dumps',
'KEEPDAYS' => {
'db1025' => 7,
+ 'db1013' => 7,
},
'SENDER' => '[email protected]',
'SUCCESS-RECIPIENT' => '[email protected]',
diff --git a/manifests/mysql.pp b/manifests/mysql.pp
index b751ef7..0728bf2 100644
--- a/manifests/mysql.pp
+++ b/manifests/mysql.pp
@@ -25,7 +25,7 @@
if $hostname =~ /^blondel|bellin$/ {
$db_cluster = "m1"
}
- elsif $hostname =~ /^(db1008|db1025|db78)$/ {
+ elsif $hostname =~ /^(db1008|db1025|db1013|db78)$/ {
$db_cluster = "fundraisingdb"
}
else {
diff --git a/manifests/site.pp b/manifests/site.pp
index 1150e84..6a96eb3 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -625,7 +625,7 @@
}
## eqiad fundraising DBs
-node /^(db1008|db1025)\.eqiad\.wmnet/ {
+node /^(db1008|db1025|db1013)\.eqiad\.wmnet/ {
include mysql_wmf::mysqluser,
mysql_wmf::datadirs,
mysql_wmf::packages,
@@ -633,7 +633,7 @@
if $hostname == "db1008" {
include role::fundraising::database::master
- } elsif $hostname == "db1025" {
+ } elsif $hostname =~ /^(db1025|db1013)$/ {
include role::fundraising::database::dump_slave
}
}
--
To view, visit https://gerrit.wikimedia.org/r/61814
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4a0d039e9d2917796ae6ca4e10876d79ee4b81fc
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Jgreen <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits