diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-02-17 03:04:13 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-02-17 03:04:13 +0000 |
commit | 4fd12f1d18eaee79a299102df370281acf4dfac3 (patch) | |
tree | 3658ea45be68e41616b7c91679fed68bb038b451 /docker/firstboot/setup_docker_host.yaml | |
parent | 1c486d57a89ed37b435bd344175301caaa32a489 (diff) | |
parent | ad2ea290bed17bff9b53ac225d3604ed642ee8bc (diff) |
Merge "docker: new hybrid deployment architecture and configuration"
Diffstat (limited to 'docker/firstboot/setup_docker_host.yaml')
-rw-r--r-- | docker/firstboot/setup_docker_host.yaml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/docker/firstboot/setup_docker_host.yaml b/docker/firstboot/setup_docker_host.yaml new file mode 100644 index 00000000..2f258987 --- /dev/null +++ b/docker/firstboot/setup_docker_host.yaml @@ -0,0 +1,32 @@ +heat_template_version: ocata + +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} |