Ensure correct ordering on MEM insights

The .conf file must be created BEFORE
running the service for analytics
because otherwise it doesnt know
where to find zookeeper nodes.

Change-Id: I8d8791ea0714ebd5ca9fe796f634a0fba9b64fa0
This commit is contained in:
Alex Ruiz Estradera 2016-10-19 18:03:48 +02:00
parent ecd1ed3d50
commit fec0cefb9f

View File

@ -95,13 +95,14 @@ class midonet::analytics (
}
}
}
class { 'midonet::analytics::services':
require => [Class['::logstash','::elasticsearch','::curator'],
Elasticsearch::Instance['es-01']]
} ->
class { 'midonet::analytics::quickstart':
zookeeper_hosts => $zookeeper_hosts,
} ->
class { 'midonet::analytics::services':
require => [Class['::logstash','::elasticsearch','::curator'],
Elasticsearch::Instance['es-01'],File['set_config']]
}
}
else {
notice('Skipping installation of midonet analytics services')