Create ES templates earlier

The LMA collectors can push logs before the creation of index template
which leads to have the first index with a wrong number_of_replicas and
wrong field indexation settings.

Closes-Bug: #1632590
Change-Id: Id166f6e0aea67b60c5c38cc6a4a69ece4928634e
This commit is contained in:
Swann Croiset 2016-10-12 10:45:35 +02:00
parent ce21fa8ed5
commit efc75f5302
1 changed files with 3 additions and 0 deletions

View File

@ -261,6 +261,9 @@
# by this plugin and the LMA collector plugin. The dependency chain is like this:
# elasticsearch-kibana-configuration -> upload_nodes_info -> (LMA collector tasks)
required_for: [upload_nodes_info, post_deployment_end]
cross-depended-by:
- name: lma-configure-apt
role: /.*/
parameters:
puppet_manifest: puppet/manifests/provision_services.pp
puppet_modules: puppet/modules:/etc/puppet/modules