diff options
author | Dan Prince <dprince@redhat.com> | 2015-11-13 15:01:13 -0500 |
---|---|---|
committer | Dan Prince <dprince@redhat.com> | 2016-02-26 16:55:44 -0500 |
commit | 55054f02d77ebbca63b6fbd3eab285873452933e (patch) | |
tree | d587a23b6777d4dcd3bf5a228c6864def715c105 /puppet/controller-post.yaml | |
parent | 8411e5a5bc6855d46522122710439e0d2623a2aa (diff) |
Add support for DeployArtifactURLs
Adds a new nested stack deployment which allows operators to
opt-in to deploy tarball's and RPM packages by setting
DeployArtifactURLs as a parameter_default in a Heat
environment.
The intent is to use this setting to allow t-h-t to
transparently deploy things like tarballs of puppet modules
via a Swift Temp URL.
Change-Id: I1bad4a4a79cf297f5b6e439e0657269738b5f326
Implements: blueprint puppet-modules-deployment-via-swift
Diffstat (limited to 'puppet/controller-post.yaml')
-rw-r--r-- | puppet/controller-post.yaml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/puppet/controller-post.yaml b/puppet/controller-post.yaml index d250dd70..713ad706 100644 --- a/puppet/controller-post.yaml +++ b/puppet/controller-post.yaml @@ -17,6 +17,15 @@ parameters: resources: + ControllerArtifactsConfig: + type: deploy-artifacts.yaml + + ControllerArtifactsDeploy: + type: OS::Heat::StructuredDeployments + properties: + servers: {get_param: servers} + config: {get_resource: ControllerArtifactsConfig} + ControllerPrePuppet: type: OS::TripleO::Tasks::ControllerPrePuppet properties: @@ -33,7 +42,7 @@ resources: # e.g all Deployment resources should have a *Deployment_StepN suffix ControllerLoadBalancerDeployment_Step1: type: OS::Heat::StructuredDeployments - depends_on: ControllerPrePuppet + depends_on: [ControllerPrePuppet, ControllerArtifactsDeploy] properties: name: ControllerLoadBalancerDeployment_Step1 servers: {get_param: servers} |