changed galera:server to galera:master in nodes checking
Change-Id: I67bc55c10cdcd13402a766dac4b71e5a3b2b1780
diff --git a/src/com/mirantis/mk/Orchestrate.groovy b/src/com/mirantis/mk/Orchestrate.groovy
index 7df99b8..558ca72 100644
--- a/src/com/mirantis/mk/Orchestrate.groovy
+++ b/src/com/mirantis/mk/Orchestrate.groovy
@@ -66,7 +66,7 @@
}
// Install galera
- if (salt.testTarget(master, 'I@galera:server') || salt.testTarget(master, 'I@galera:slave')) {
+ if (salt.testTarget(master, 'I@galera:master') || salt.testTarget(master, 'I@galera:slave')) {
withEnv(['ASK_ON_ERROR=false']){
retry(2) {
salt.enforceState(master, 'I@galera:master', 'galera', true)