Fix name of STACK_INSTALL variable
Change-Id: Ibc8888e4b025afd9ea51bbeebe168cbc4c9b0f06
diff --git a/src/com/mirantis/mk/Orchestrate.groovy b/src/com/mirantis/mk/Orchestrate.groovy
index 7db09e9..c5ecb91 100644
--- a/src/com/mirantis/mk/Orchestrate.groovy
+++ b/src/com/mirantis/mk/Orchestrate.groovy
@@ -231,9 +231,9 @@
def installKubernetesInfra(master) {
def common = new com.mirantis.mk.Common()
def salt = new com.mirantis.mk.Salt()
- print(INSTALL)
+
// Install glusterfs
- if (common.checkContains('INSTALL', 'glusterfs')) {
+ if (common.checkContains('STACK_INSTALL', 'glusterfs')) {
salt.enforceState(master, 'I@glusterfs:server', 'glusterfs.server.service')
}
@@ -242,7 +242,7 @@
salt.enforceState(master, 'I@keepalived:cluster', 'keepalived')
// Setup glusterfs
- if (common.checkContains('INSTALL', 'glusterfs')) {
+ if (common.checkContains('STACK_INSTALL', 'glusterfs')) {
withEnv(['ASK_ON_ERROR=false']){
retry(5) {
salt.enforceState(master, 'I@glusterfs:server and *01*', 'glusterfs.server.setup')