From b8b5ca12be0de95ee2e52994f705f06722071f18 Mon Sep 17 00:00:00 2001 From: Steven Hardy Date: Thu, 9 Apr 2015 14:28:10 +0100 Subject: 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 --- puppet/swift-storage-post.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'puppet/swift-storage-post.yaml') diff --git a/puppet/swift-storage-post.yaml b/puppet/swift-storage-post.yaml index edceba97..3e01fe77 100644 --- a/puppet/swift-storage-post.yaml +++ b/puppet/swift-storage-post.yaml @@ -37,3 +37,12 @@ resources: properties: servers: {get_param: servers} config: {get_resource: StorageRingbuilderPuppetConfig} + + # Note, this should come last, so use depends_on to ensure + # this is created after any other resources. + ExtraConfig: + depends_on: StorageRingbuilderDeployment_Step2 + type: OS::TripleO::NodeExtraConfigPost + properties: + servers: {get_param: servers} + -- cgit 1.2.3-korg