fix missing orchestrate import
Change-Id: Icf5a3fbc4c769146c3fa37d0203aaf1bbfd6f927
diff --git a/src/com/mirantis/mk/Orchestrate.groovy b/src/com/mirantis/mk/Orchestrate.groovy
index 365a990..d7c165e 100644
--- a/src/com/mirantis/mk/Orchestrate.groovy
+++ b/src/com/mirantis/mk/Orchestrate.groovy
@@ -121,9 +121,10 @@
}
def installOpenstackInfra(master) {
+ def orchestrate = new com.mirantis.mk.Orchestrate()
// THIS FUNCTION IS LEGACY, PLEASE USE installInfra directly
- installInfra(master)
+ orchestrate.installInfra(master)
}
@@ -238,7 +239,7 @@
def installContrailCompute(master) {
- def salt = new com.mirantis.mk.Salt()
+ def salt = new com.mirantis.mk.Salt()
// Configure compute nodes
// Provision opencontrail control services
salt.enforceState(master, 'I@opencontrail:database:id:1', 'opencontrail.client', true)
@@ -251,9 +252,9 @@
def installKubernetesInfra(master) {
-
+ def orchestrate = new com.mirantis.mk.Orchestrate()
// THIS FUNCTION IS LEGACY, PLEASE USE installInfra directly
- installInfra(master)
+ orchestrate.installInfra(master)
}