add clustercheck script (avoid splitbrain)
diff --git a/tests/pillar/master_cluster.sls b/tests/pillar/master_cluster.sls
index a12e7d7..bd27fa2 100644
--- a/tests/pillar/master_cluster.sls
+++ b/tests/pillar/master_cluster.sls
@@ -7,7 +7,7 @@
port: 3306
maintenance_password: password
admin:
- user: user
+ user: root
password: password
members:
- host: 127.0.0.1
@@ -16,6 +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
mysql:
server:
users:
@@ -27,17 +34,15 @@
host: 127.0.0.1
- name: clustercheck
#host: localhost
- password: clustercheck
+ password: password
database: '*.*'
grants: PROCESS
- grant_option: False
- name: inspector
host: 127.0.0.1
password: password
databases:
- mydb:
- - database: mydb
- - table: mytable
- - grant_option: False
- - grants:
- - all privileges
+ - database: mydb
+ table: mytable
+ grant_option: True
+ grants:
+ - all privileges