diff options
author | Dan Prince <dprince@redhat.com> | 2016-10-14 13:39:01 -0400 |
---|---|---|
committer | Dan Prince <dprince@redhat.com> | 2016-10-14 13:39:01 -0400 |
commit | ccc3a569833ce13c472d48815eaeb153ec650b54 (patch) | |
tree | 0a98128d2ddaa619c415dd3f573e36bc1022795e | |
parent | 23dc0914e4d74edc38cd7d765fb3b6fa9dfab18e (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
-rw-r--r-- | overcloud.j2.yaml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/overcloud.j2.yaml b/overcloud.j2.yaml index 7e1f496c..2e6412db 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]} |