Add 'mine.update' before runing Horizon state
- make sure mine is updated before Horizon state run
- mine can hold policy params for Horizon
Related: PROD-34126
Change-Id: Ibbba064f8d03137e550e7175294c3c9301de35ad
diff --git a/src/com/mirantis/mk/Orchestrate.groovy b/src/com/mirantis/mk/Orchestrate.groovy
index 8f5d189..1656594 100644
--- a/src/com/mirantis/mk/Orchestrate.groovy
+++ b/src/com/mirantis/mk/Orchestrate.groovy
@@ -444,6 +444,7 @@
}
// Install horizon dashboard
+ salt.runSaltProcessStep(master, "* ${extra_tgt}", 'mine.update')
salt.enforceStateWithTest([saltId: master, target: "I@horizon:server ${extra_tgt}", state: 'horizon'])
}