Springle has uploaded a new change for review. https://gerrit.wikimedia.org/r/131419
Change subject: Use m2-master CNAME to make DB rotations neater. This allows a master switch to be a DNS change plus a simple port 3306 tcp redirect with socat until TTL. Should also help if we switch to a haproxy configuration in the future. ...................................................................... Use m2-master CNAME to make DB rotations neater. This allows a master switch to be a DNS change plus a simple port 3306 tcp redirect with socat until TTL. Should also help if we switch to a haproxy configuration in the future. Change-Id: I1fef849d7368679920de974ed3a9f8d1b1fab538 --- M manifests/role/gerrit.pp 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/19/131419/1 diff --git a/manifests/role/gerrit.pp b/manifests/role/gerrit.pp index 7213fe8..be4eb8b 100644 --- a/manifests/role/gerrit.pp +++ b/manifests/role/gerrit.pp @@ -17,7 +17,7 @@ system::role { 'role::gerrit::production': description => 'Old gerrit master' } class { "gerrit::instance": - db_host => 'db1048.eqiad.wmnet', + db_host => 'm2-master.eqiad.wmnet', host => 'gerrit.wikimedia.org', ssh_key => 'AAAAB3NzaC1yc2EAAAABIwAAAQEAxOlshfr3UaPr8gQ8UVskxHAGG9xb55xDyfqlK7vsAs/p+OXpRB4KZOxHWqI40FpHhW+rFVA0Ugk7vBK13oKCB435TJlHYTJR62qQNb2DVxi5rtvZ7DPnRRlAvdGpRft9JsoWdgsXNqRkkStbkA5cqotvVHDYAgzBnHxWPM8REokQVqil6S/yHkIGtXO5J7F6I1OvYCnG1d1GLT5nDt+ZeyacLpZAhrBlyFD6pCwDUhg4+H4O3HGwtoh5418U4cvzRgYOQQXsU2WW5nBQHE9LXVLoL6UeMYY4yMtaNw207zN6kXcMFKyTuF5qlF5whC7cmM4elhAO2snwIw4C3EyQgw==', ssl_cert => 'gerrit.wikimedia.org', @@ -49,7 +49,7 @@ ] class { "gerrit::instance": - db_host => 'db1048.eqiad.wmnet', + db_host => 'm2-master.eqiad.wmnet', host => 'gerrit.wikimedia.org', ssh_key => 'AAAAB3NzaC1yc2EAAAABIwAAAQEAxOlshfr3UaPr8gQ8UVskxHAGG9xb55xDyfqlK7vsAs/p+OXpRB4KZOxHWqI40FpHhW+rFVA0Ugk7vBK13oKCB435TJlHYTJR62qQNb2DVxi5rtvZ7DPnRRlAvdGpRft9JsoWdgsXNqRkkStbkA5cqotvVHDYAgzBnHxWPM8REokQVqil6S/yHkIGtXO5J7F6I1OvYCnG1d1GLT5nDt+ZeyacLpZAhrBlyFD6pCwDUhg4+H4O3HGwtoh5418U4cvzRgYOQQXsU2WW5nBQHE9LXVLoL6UeMYY4yMtaNw207zN6kXcMFKyTuF5qlF5whC7cmM4elhAO2snwIw4C3EyQgw==', ssl_cert => 'gerrit.wikimedia.org', -- To view, visit https://gerrit.wikimedia.org/r/131419 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I1fef849d7368679920de974ed3a9f8d1b1fab538 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Springle <sprin...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits