fix installStacklightClient
common import was missing
Change-Id: Ic894752ad1494e4eb5812f9ade62b64dec3fe9c3
diff --git a/src/com/mirantis/mk/Orchestrate.groovy b/src/com/mirantis/mk/Orchestrate.groovy
index 3a874cb..8954017 100644
--- a/src/com/mirantis/mk/Orchestrate.groovy
+++ b/src/com/mirantis/mk/Orchestrate.groovy
@@ -275,7 +275,7 @@
def installKubernetesCompute(master) {
- def salt = new com.mirantis.mk.Salt();
+ def salt = new com.mirantis.mk.Salt()
// Install opencontrail
salt.runSaltProcessStep(master, 'I@opencontrail:compute', 'state.sls', ['opencontrail'])
// Reboot compute nodes
@@ -284,7 +284,7 @@
def installStacklightControl(master) {
- def salt = new com.mirantis.mk.Salt();
+ def salt = new com.mirantis.mk.Salt()
// infra install
// Install the StackLight backends
@@ -308,7 +308,8 @@
}
def installStacklightClient(master) {
- def salt = new com.mirantis.mk.Salt();
+ def salt = new com.mirantis.mk.Salt()
+ def common = new com.mirantis.mk.Common()
salt.runSaltProcessStep(master, 'I@elasticsearch.client', 'cmd.run', ['salt-call state.sls elasticsearch.client'], null, true)
// salt.enforceState(master, 'I@elasticsearch:client', 'elasticsearch.client', true)