diff options
author | Steven Hardy <shardy@redhat.com> | 2015-04-09 14:28:10 +0100 |
---|---|---|
committer | Steven Hardy <shardy@redhat.com> | 2015-04-24 10:19:04 +0100 |
commit | b8b5ca12be0de95ee2e52994f705f06722071f18 (patch) | |
tree | 1e3bfd3b8d68ca4404ebebfbf159b90f3c018551 /puppet/compute-post-puppet.yaml | |
parent | 723db1317cd62a8772c764847c80a339eae4c03f (diff) |
Add hooks for extra post-deployment config
Adds optional hooks which can run operator defined additional config on
nodes after the application deployment has completed.
Change-Id: I3f99e648efad82ce2cd51e2d5168c716f0cee8fe
Diffstat (limited to 'puppet/compute-post-puppet.yaml')
-rw-r--r-- | puppet/compute-post-puppet.yaml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/puppet/compute-post-puppet.yaml b/puppet/compute-post-puppet.yaml index 9b7eb0cf..26c1a979 100644 --- a/puppet/compute-post-puppet.yaml +++ b/puppet/compute-post-puppet.yaml @@ -23,3 +23,12 @@ resources: properties: servers: {get_param: servers} config: {get_resource: ComputePuppetConfig} + + # Note, this should come last, so use depends_on to ensure + # this is created after any other resources. + ExtraConfig: + depends_on: ComputePuppetDeployment + type: OS::TripleO::NodeExtraConfigPost + properties: + servers: {get_param: servers} + |