Isolate cluster check otpion to separate class
Change-Id: I016f0bc2cf33cf56b261bd16180a072a3bfa4d08
diff --git a/galera/server/clustercheck.yml b/galera/server/clustercheck.yml
new file mode 100644
index 0000000..a5d7137
--- /dev/null
+++ b/galera/server/clustercheck.yml
@@ -0,0 +1,18 @@
+parameters:
+ _param:
+ galera_clustercheck_password: clustercheck
+ galera:
+ clustercheck:
+ enabled: True
+ user: clustercheck
+ password: ${_param:galera_clustercheck_password}
+ port: 9200
+ available_when_donor: 0
+ available_when_readonly: 0
+ mysql:
+ server:
+ users:
+ - name: clustercheck
+ password: ${_param:galera_clustercheck_password}
+ database: '*.*'
+ grants: PROCESS