Support queue=true/false for salt states
While enforcing state "reclass" we allow to fail, but in many cases "timeout" is short
and state still running and running another state without queue=true causes the 2nd state to fail.
Change-Id: I92a1219b66ca0084f46e430ab334ede39d36241b
diff --git a/src/com/mirantis/mk/Orchestrate.groovy b/src/com/mirantis/mk/Orchestrate.groovy
index c554fc6..5efc6d3 100644
--- a/src/com/mirantis/mk/Orchestrate.groovy
+++ b/src/com/mirantis/mk/Orchestrate.groovy
@@ -17,7 +17,7 @@
def installFoundationInfra(master) {
def salt = new com.mirantis.mk.Salt()
- salt.enforceState(master, 'I@salt:master', ['salt.master', 'reclass'], true, false, null, false, 60, 2)
+ salt.enforceState(master, 'I@salt:master', ['salt.master', 'reclass'], true, false, null, false, 120, 2)
salt.runSaltProcessStep(master, '*', 'saltutil.refresh_pillar', [], null, true)
salt.runSaltProcessStep(master, '*', 'saltutil.sync_all', [], null, true)