Controller: Exec puppet after all configuration
authorDan Prince <dprince@redhat.com>
Thu, 12 Feb 2015 20:49:00 +0000 (15:49 -0500)
committerDan Prince <dprince@redhat.com>
Fri, 13 Feb 2015 03:19:22 +0000 (22:19 -0500)
commitd25bd1f12e6b6b74aac4fdc593492ec42518bf8d
treeea63f73a9ee3bc1187828ad80659265b5ef354d6
parent6b5ac01d2e61af9efddd01b58bfc0f6cd1e8518f
Controller: Exec puppet after all configuration

This patch adds a new ControllerNodesPostDeployment resource
which can be used along with the environment file to
specify a nested stack which is guaranteed to execute
after all the Controller config (HA, or other) 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 most of the HA data which
actually gets composed outside of the controller-puppet.yaml
nested stack 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.

Partial-bug: 1418805

Change-Id: Icd6b2c9c1f9b057c28649ee3bdce0039f3fd8422
controller-post.yaml [new file with mode: 0644]
overcloud-resource-registry-puppet.yaml
overcloud-resource-registry.yaml
overcloud-without-mergepy.yaml
puppet/controller-post-puppet.yaml [new file with mode: 0644]
puppet/controller-puppet.yaml