# The following tasks are executed in the order they are declared
# Priorities are important, this ensure that this plugin is deployed after
# LMA Collector, InfluxDB and Elasticsearch.
- role: [primary-infrastructure_alerting, infrastructure_alerting]
  stage: post_deployment/8101
  type: puppet
  parameters:
    puppet_manifest: puppet/manifests/nagios.pp
    puppet_modules: puppet/modules
    timeout: 600

- role: [primary-infrastructure_alerting, infrastructure_alerting]
  stage: post_deployment/8101
  type: puppet
  parameters:
    puppet_manifest: puppet/manifests/ha_services.pp
    puppet_modules: puppet/modules
    timeout: 600

- role: [primary-infrastructure_alerting]
  stage: post_deployment/8101
  type: puppet
  parameters:
    puppet_manifest: puppet/manifests/nagios_dashboard_url.pp
    puppet_modules: puppet/modules
    timeout: 120

# The following tasks are executed in the order they are declared
# Priorities are important, this ensure that this plugin is deployed after
# LMA Collector, InfluxDB and Elasticsearch.
- role: [primary-infrastructure_alerting, infrastructure_alerting]
  stage: post_deployment/8201
  type: puppet
  parameters:
    puppet_manifest: puppet/manifests/nagios.pp
    puppet_modules: puppet/modules
    timeout: 600

- role: [primary-infrastructure_alerting, infrastructure_alerting]
  stage: post_deployment/8201
  type: puppet
  parameters:
    puppet_manifest: puppet/manifests/ha_services.pp
    puppet_modules: puppet/modules
    timeout: 600

- role: [primary-infrastructure_alerting]
  stage: post_deployment/8201
  type: puppet
  parameters:
    puppet_manifest: puppet/manifests/nagios_dashboard_url.pp
    puppet_modules: puppet/modules
    timeout: 120

Fix task priorities with the LMA collector plugin
Fix task priorities with the LMA collector plugin

This change makes sure that the configuration of Nagios happens after
the LMA collectors have been deployed.

Change-Id: I1b31808628a733fda536d676facf760d49a89813
