diff options
author | Yanis Guenane <yanis.guenane@enovance.com> | 2015-04-02 08:48:31 +0200 |
---|---|---|
committer | Yanis Guenane <yanis.guenane@enovance.com> | 2015-04-07 11:53:54 +0200 |
commit | 72e8834efa188ecef879e5ae3141428b6a88f0a5 (patch) | |
tree | 1f8f0bd743686b42a07d27a9f9953e5941fc37bf /lib/puppet | |
parent | 6f5c208f8df4df034637acd1b5fd6f4b71012d8a (diff) |
Rethink the backup option for Galera
Initial logic for the backup option in the HAProxy was wrong and
wouldn't do what expected.
Current logic is implemented as follow
1. User passes an array of Galera IP addresses
2. User passes an array of Galera hostnames
3. User passes a Galera master IP and Galera master hostname
Result :
* Set a backend line with Galera master IP and Galera master hostname
* Remove those data from the two arrays of IP and Hostnames
* Set backend lines for whatever is left on those array with the backup
option on
Change-Id: Idfd72de4fafdce2a9c16945961fee996a98049b7
Diffstat (limited to 'lib/puppet')
0 files changed, 0 insertions, 0 deletions