aboutsummaryrefslogtreecommitdiffstats
path: root/overcloud.j2.yaml
diff options
context:
space:
mode:
authorDan Prince <dprince@redhat.com>2016-10-14 13:39:01 -0400
committerDan Prince <dprince@redhat.com>2016-10-14 13:39:01 -0400
commitccc3a569833ce13c472d48815eaeb153ec650b54 (patch)
tree0a98128d2ddaa619c415dd3f573e36bc1022795e /overcloud.j2.yaml
parent23dc0914e4d74edc38cd7d765fb3b6fa9dfab18e (diff)
Ensure all HostsDeployments finish before puppet
This makes sure that the Host settings for all deployments are finished before starting the AllNodesDeployments which execute puppet. Change-Id: Ibe604472255ce905ca2c1dca2a9b07a6f8f40e47 Related-bug: #1633565
Diffstat (limited to 'overcloud.j2.yaml')
-rw-r--r--overcloud.j2.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/overcloud.j2.yaml b/overcloud.j2.yaml
index 7e1f496..2e6412d 100644
--- a/overcloud.j2.yaml
+++ b/overcloud.j2.yaml
@@ -223,7 +223,10 @@ resources:
{{role.name}}AllNodesDeployment:
type: OS::Heat::StructuredDeployments
- depends_on: {{role.name}}HostsDeployment
+ depends_on:
+{% for role_inner in roles %}
+ - {{role_inner.name}}HostsDeployment
+{% endfor %}
properties:
name: {{role.name}}AllNodesDeployment
config: {get_attr: [allNodesConfig, config_id]}