Move the execution of the heka.log_collector state
This state should be executed as soon as the Elasticsearch cluster is
ready.
Change-Id: I327276004d11acb40a564f09fea5344648c214e6
diff --git a/src/com/mirantis/mk/Orchestrate.groovy b/src/com/mirantis/mk/Orchestrate.groovy
index 20374ff..d29c9c3 100644
--- a/src/com/mirantis/mk/Orchestrate.groovy
+++ b/src/com/mirantis/mk/Orchestrate.groovy
@@ -510,6 +510,8 @@
salt.enforceState(master, '*01* and I@influxdb:server', 'influxdb', true)
salt.enforceState(master, 'I@influxdb:server', 'influxdb', true)
+ salt.enforceState(master, 'I@heka:log_collector', 'heka.log_collector')
+
// Install galera
if (common.checkContains('STACK_INSTALL', 'k8s')) {
withEnv(['ASK_ON_ERROR=false']){
@@ -554,8 +556,6 @@
common.infoMsg("Waiting for service on http://${stacklight_vip}:15013/ to start")
sleep(120)
salt.enforceState(master, 'I@grafana:client', 'grafana.client', true)
-
- salt.enforceState(master, 'I@heka:log_collector', 'heka.log_collector')
}
def installStacklightv1Control(master) {