aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/swift-storage-post.yaml
diff options
context:
space:
mode:
authorSteven Hardy <shardy@redhat.com>2015-04-09 14:28:10 +0100
committerSteven Hardy <shardy@redhat.com>2015-04-24 10:19:04 +0100
commitb8b5ca12be0de95ee2e52994f705f06722071f18 (patch)
tree1e3bfd3b8d68ca4404ebebfbf159b90f3c018551 /puppet/swift-storage-post.yaml
parent723db1317cd62a8772c764847c80a339eae4c03f (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/swift-storage-post.yaml')
-rw-r--r--puppet/swift-storage-post.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/puppet/swift-storage-post.yaml b/puppet/swift-storage-post.yaml
index edceba9..3e01fe7 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}
+