Generate Hiera data as soon as possible

The Hiera data from the LMA collector plugin is used by other plugins
such as the LMA Infrastructure Alerting plugin so it needs to be
available right after checking that the configuration is valid.

Change-Id: Id2902c5091a715f05ab936820991ec96d8b59962
This commit is contained in:
Simon Pasquier 2015-10-21 17:01:05 +02:00
parent bb8edfbe8b
commit 821f90b55e
1 changed files with 10 additions and 8 deletions

View File

@ -7,6 +7,16 @@
puppet_modules: puppet/modules
timeout: 300
# The Hiera data needs to be populated first so that other plugins (eg LMA
# Infrastructure Alerting) can use it
- role: '*'
stage: post_deployment/8000
type: puppet
parameters:
puppet_manifest: puppet/manifests/hiera_override.pp
puppet_modules: puppet/modules
timeout: 600
# The following tasks are executed in the order they are declared
# We need to control what is deployed when we install a new package. So
@ -20,14 +30,6 @@
puppet_modules: puppet/modules
timeout: 600
- role: '*'
stage: post_deployment/8200
type: puppet
parameters:
puppet_manifest: puppet/manifests/hiera_override.pp
puppet_modules: puppet/modules
timeout: 600
- role: '*'
stage: post_deployment/8200
type: puppet