0a0e2ee629
Master is now the development branch for pike changing the release alias name. Change-Id: I938e4a983e361aefcaa0bd9a4226c296c5823127
33 lines
714 B
YAML
33 lines
714 B
YAML
heat_template_version: pike
|
|
|
|
parameters:
|
|
DockerNamespace:
|
|
type: string
|
|
default: tripleoupstream
|
|
DockerNamespaceIsRegistry:
|
|
type: boolean
|
|
default: false
|
|
|
|
resources:
|
|
|
|
userdata:
|
|
type: OS::Heat::MultipartMime
|
|
properties:
|
|
parts:
|
|
- config: {get_resource: setup_docker_host}
|
|
|
|
setup_docker_host:
|
|
type: OS::Heat::SoftwareConfig
|
|
properties:
|
|
group: script
|
|
config:
|
|
str_replace:
|
|
params:
|
|
$docker_registry: {get_param: DockerNamespace}
|
|
$docker_namespace_is_registry: {get_param: DockerNamespaceIsRegistry}
|
|
template: {get_file: ./setup_docker_host.sh}
|
|
|
|
outputs:
|
|
OS::stack_id:
|
|
value: {get_resource: userdata}
|