Page MenuHomePhabricator

Refactor $master in mariadb::core Puppet class
Closed, ResolvedPublic

Description

At the moment $master in mariadb::core Puppet class is set to False for masters in the passive datacenter.
In order to be able to address the masters of the passive datacenter and also for clarity is better to refactor Puppet code in order to be able to have $master True for all masters and check $::mw_primary to know if we are in the active or passive datacenter.

Event Timeline

Volans moved this task from Triage to In progress on the DBA board.

Change 287144 had a related patch set uploaded (by Volans):
MariaDB: set $master true for codfw masters

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

Change 287144 merged by Volans:
MariaDB: set $master true for codfw masters

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