Bläddra i källkod

fixes splitrbrain

pull/27/head
TomasHradecky 7 år sedan
förälder
incheckning
a3ed6d3e67
6 ändrade filer med 16 tillägg och 15 borttagningar
  1. +1
    -0
      galera/clustercheck.sls
  2. +1
    -1
      galera/server.sls
  3. +0
    -0
      tests/integration/master_cluster/checks_clustercheck_spec.rb
  4. +0
    -0
      tests/integration/slave_cluster/checks_clustercheck_spec.rb
  5. +7
    -7
      tests/pillar/master_cluster.sls
  6. +7
    -7
      tests/pillar/slave_cluster.sls

+ 1
- 0
galera/clustercheck.sls Visa fil

@@ -7,6 +7,7 @@ clustercheck_dir:
- user: root
- group: root
- mode: 750
- makedirs: True

/usr/local/bin/mysql_clustercheck:
file.managed:

+ 1
- 1
galera/server.sls Visa fil

@@ -1,5 +1,5 @@
{%- if pillar.get('mysql', {}).server is defined %}
{%- from "mysql/map.jinja" import mysql_connection_args as connection %}
{%- from "mysql/map.jinja" import mysql_connection_args as connection with context %}
{%- set server = pillar.mysql.server %}

{%- for database_name, database in server.get('database', {}).iteritems() %}

tests/integration/master-cluster/checks_clustercheck_spec.rb → tests/integration/master_cluster/checks_clustercheck_spec.rb Visa fil


tests/integration/slave-cluster/checks_clustercheck_spec.rb → tests/integration/slave_cluster/checks_clustercheck_spec.rb Visa fil


+ 7
- 7
tests/pillar/master_cluster.sls Visa fil

@@ -16,13 +16,13 @@
port: 4567
- host: 127.0.0.1
port: 4567
clustercheck:
enabled: True
user: clustercheck
password: password
available_when_donor: 1
available_when_readonly: 1
port: 9200
clustercheck:
enabled: True
user: clustercheck
password: password
available_when_donor: 1
available_when_readonly: 1
port: 9200
mysql:
server:
users:

+ 7
- 7
tests/pillar/slave_cluster.sls Visa fil

@@ -16,13 +16,13 @@
port: 4567
- host: 127.0.0.1
port: 4567
clustercheck:
enabled: True
user: clustercheck
password: password
available_when_donor: 1
available_when_readonly: 1
port: 9200
clustercheck:
enabled: True
user: clustercheck
password: password
available_when_donor: 1
available_when_readonly: 1
port: 9200
mysql:
server:
users:

Laddar…
Avbryt
Spara