Use anchor to order post-deployment task

This patch adds update_hosts as an anchor to order the post-deployment tasks
executed by the LMA infrastructure plugin.

Change-Id: Ibf2047c4556a61c49e616b94c1eff52daca070f2
This commit is contained in:
Guillaume Thouvenin 2016-05-17 08:57:33 +02:00
parent c1dfcb4b2c
commit 56ef5c42f4
1 changed files with 4 additions and 1 deletions

View File

@ -142,7 +142,10 @@
- id: lma-cleanup-apt-config
type: puppet
version: 2.0.0
required_for: [post_deployment_end]
# We use update_hosts as an anchor to order the post-deployment tasks
# executed by the LMA infrastructure plugin. The dependency chain is:
# LMA collector tasks -> update_hosts -> (LMA Infrastructure Alerting tasks)
required_for: [post_deployment_end, update_hosts]
role: '*'
parameters:
puppet_manifest: puppet/manifests/cleanup_apt_config.pp