From d25bd1f12e6b6b74aac4fdc593492ec42518bf8d Mon Sep 17 00:00:00 2001 From: Dan Prince Date: Thu, 12 Feb 2015 15:49:00 -0500 Subject: 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 | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 controller-post.yaml (limited to 'controller-post.yaml') diff --git a/controller-post.yaml b/controller-post.yaml new file mode 100644 index 00000000..31a3062a --- /dev/null +++ b/controller-post.yaml @@ -0,0 +1,8 @@ +heat_template_version: 2014-10-16 +description: 'Controller Post Deployment' +# NOTE: this is a noop for os-apply-config style deployments because +# post deployment ordering is controlled by tripleo-image-elements + +parameters: + servers: + type: json -- cgit 1.2.3-korg