diff options
author | Dan Prince <dprince@redhat.com> | 2015-02-19 15:54:24 -0800 |
---|---|---|
committer | Dan Prince <dprince@redhat.com> | 2015-02-23 20:45:01 -0500 |
commit | b11ac7e6b67c08eb7407872ece519f2675151483 (patch) | |
tree | e9671adf67ea1f6fa326400a435a3ad3b977b47e /overcloud-without-mergepy.yaml | |
parent | 62ab434139c4576afe84b7b0b08374261fc79563 (diff) |
Compute: Exec puppet after all configuration
This patch adds a new ComputeNodesPostDeployment resource
which can be used along with the environment file to
specify a nested stack which is guaranteed to execute
after all the Compute config deployments have executed.
This is really useful for Puppet in that Heat actually
controls where puppet executes in the deployment
process and we want to ensure puppet runs after
all hiera configuration data has be deployed to
the nodes. With the previous approach some of the
data would be there, but allNodes data would not be
guaranteed to be there in time.
As os-apply-config (tripleo-image-elements) have their
ordering controlled within the elements themselves an empty stubbed
in nested stack has been added so that we don't break that
implementation.
Change-Id: I80bccd692e45393f8250607073d1fe7beb0d7396
Diffstat (limited to 'overcloud-without-mergepy.yaml')
-rw-r--r-- | overcloud-without-mergepy.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/overcloud-without-mergepy.yaml b/overcloud-without-mergepy.yaml index bd48ec66..3a719e3c 100644 --- a/overcloud-without-mergepy.yaml +++ b/overcloud-without-mergepy.yaml @@ -784,6 +784,12 @@ resources: properties: servers: {get_attr: [Controller, attributes, nova_server_resource]} + ComputeNodesPostDeployment: + type: OS::TripleO::ComputePostDeployment + depends_on: ComputeAllNodesDeployment + properties: + servers: {get_attr: [Compute, attributes, nova_server_resource]} + outputs: KeystoneURL: description: URL for the Overcloud Keystone service |