From 3e3a0b0360caa09c4508c3bb138bdcafcb585b5c Mon Sep 17 00:00:00 2001 From: Matthew Mosesohn Date: Wed, 2 Mar 2016 19:07:19 +0300 Subject: [PATCH] Refactor tasks for version 2.0.0 Version 2.0.0 tasks enable parallel deployment and cross-dependencies. This patch adds support to the plugin so that the other tasks can be deployed as such. Change-Id: Id707a52eef9b2687103cb7f3e3c60f96184c9422 Partial-Bug: #1548340 --- deployment_tasks.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/deployment_tasks.yaml b/deployment_tasks.yaml index f98cd13..c197587 100644 --- a/deployment_tasks.yaml +++ b/deployment_tasks.yaml @@ -27,6 +27,7 @@ # Deployment tasks - id: database-haproxy type: puppet + version: 2.0.0 groups: [primary-standalone-database, standalone-database] required_for: [task-database, deploy_end] requires: [deploy_start, database-virtual-ip, cluster-haproxy, @@ -38,6 +39,7 @@ - id: database-virtual-ip type: puppet + version: 2.0.0 groups: [primary-standalone-database, standalone-database] required_for: [deploy_end] requires: [database-firewall, cluster] @@ -48,7 +50,8 @@ - id: task-database type: puppet - role: [primary-standalone-database, standalone-database] + version: 2.0.0 + groups: [primary-standalone-database, standalone-database] requires: [hosts, database-firewall, cluster, database-haproxy, database-virtual-ip] parameters: @@ -62,6 +65,7 @@ - id: database-hiera-override type: puppet + version: 2.0.0 groups: [primary-controller, controller, primary-standalone-database, standalone-database, cinder, cinder-vmware, compute, ceph-osd, primary-mongo, mongo] @@ -74,6 +78,7 @@ - id: database-firewall type: puppet + version: 2.0.0 role: [primary-standalone-database, standalone-database] requires: [globals, firewall] required_for: [cluster, task-database]