Open up firewall for the control-ports in the bundles
[apex-tripleo-heat-templates.git] / docker / firstboot / setup_docker_host.yaml
1 heat_template_version: pike
2
3 parameters:
4   DockerNamespace:
5     type: string
6     default: tripleoupstream
7     description: namespace
8   DockerNamespaceIsRegistry:
9     type: boolean
10     default: false
11
12 resources:
13
14   userdata:
15     type: OS::Heat::MultipartMime
16     properties:
17       parts:
18       - config: {get_resource: setup_docker_host}
19
20   setup_docker_host:
21     type: OS::Heat::SoftwareConfig
22     properties:
23       group: script
24       config:
25         str_replace:
26           params:
27             $docker_registry: {get_param: DockerNamespace}
28             $docker_namespace_is_registry: {get_param: DockerNamespaceIsRegistry}
29           template: {get_file: ./setup_docker_host.sh}
30
31 outputs:
32   OS::stack_id:
33     value: {get_resource: userdata}