Change flat network name for nosdn fdio scenario
[apex-tripleo-heat-templates.git] / puppet / deploy-artifacts.yaml
1 heat_template_version: pike
2
3 description: >
4   Software Config to install deployment artifacts (tarball's and/or
5   distribution packages) via HTTP URLs. The contents of the URL's can
6   be tarballs or distribution packages (RPMs). If a tarball URL is supplied
7   it is extracted onto the target node during deployment. If a package is
8   deployed it is installed from the supplied URL.  Note, you need the
9   heat-config-script element built into your images, due to the script group
10   below.
11
12 parameters:
13   DeployArtifactURLs:
14     default: []
15     description: A list of HTTP URLs containing deployment artifacts.
16      Currently supports tarballs and RPM packages.
17     type: comma_delimited_list
18
19 resources:
20   DeployArtifacts:
21     type: OS::Heat::SoftwareConfig
22     properties:
23       group: script
24       inputs:
25         - name: artifact_urls
26           default: {list_join: [' ', {get_param: DeployArtifactURLs}]}
27       config: {get_file: ./deploy-artifacts.sh}
28
29 outputs:
30   OS::stack_id:
31     description: The ID of the DeployArtifacts resource.
32     value: {get_resource: DeployArtifacts}