aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/swift-storage-post.yaml
diff options
context:
space:
mode:
authorGiulio Fidente <gfidente@redhat.com>2015-03-18 12:54:33 -0400
committerGiulio Fidente <gfidente@redhat.com>2015-03-18 12:54:33 -0400
commitccbdc85948117b1bb8323154846ec27a533004fb (patch)
tree0acb0bebd80ebb83b714507340c48725e0ee9b58 /puppet/swift-storage-post.yaml
parent5e7928431e0ba0afd91ef924d43ca5fb28b345fa (diff)
Update puppet post config to enable stepped deployments
The upcoming heat hook/breakpoint features will enable stepped deployments via setting stop points via the resource_registry. For this to work, we need hard dependencies between each step of the puppet deployments, because the current "soft" dependencies caused by the name property only influences the hook script application ordering, not the graph traversed by heat during deployment. Since removing the name: puppet_n completely removes some useful self- documenting context, move this to a resource naming convention, which should also be useful for heat hooks/breakpoints, as they are expected to support globbed specification of each step. Related heat patch (not yet landed, but this is not dependent on it): https://review.openstack.org/#/c/146123/ Change-Id: I05b02a46d4e80c08a308d033c33d4901c8f6c94e
Diffstat (limited to 'puppet/swift-storage-post.yaml')
-rw-r--r--puppet/swift-storage-post.yaml7
1 files changed, 3 insertions, 4 deletions
diff --git a/puppet/swift-storage-post.yaml b/puppet/swift-storage-post.yaml
index 89cf9733..3f069319 100644
--- a/puppet/swift-storage-post.yaml
+++ b/puppet/swift-storage-post.yaml
@@ -18,10 +18,9 @@ resources:
config:
get_file: manifests/overcloud_object.pp
- StoragePuppetDeployment:
+ StorageDeployment_Step1:
type: OS::Heat::StructuredDeployments
properties:
- name: puppet_1
servers: {get_param: servers}
config: {get_resource: StoragePuppetConfig}
@@ -34,9 +33,9 @@ resources:
config:
get_file: manifests/ringbuilder.pp
- StorageRingbuilderPuppetDeployment:
+ StorageRingbuilderDeployment_Step2:
type: OS::Heat::StructuredDeployments
+ depends_on: StorageDeployment_Step1
properties:
- name: puppet_2
servers: {get_param: servers}
config: {get_resource: StorageRingbuilderPuppetConfig}