Merge "Remove root_template and root_environment from capabilities-map.yaml"
[apex-tripleo-heat-templates.git] / puppet / services / docker.yaml
1 heat_template_version: ocata
2
3 description: >
4   Configures docker on the host
5
6 parameters:
7   DockerNamespace:
8     description: namespace
9     default: tripleoupstream
10     type: string
11   DockerNamespaceIsRegistry:
12     type: boolean
13     default: false
14   EndpointMap:
15     default: {}
16     description: Mapping of service endpoint -> protocol. Typically set
17                  via parameter_defaults in the resource registry.
18     type: json
19   ServiceNetMap:
20     default: {}
21     description: Mapping of service_name -> network name. Typically set
22                  via parameter_defaults in the resource registry.  This
23                  mapping overrides those in ServiceNetMapDefaults.
24     type: json
25   DefaultPasswords:
26     default: {}
27     type: json
28
29 outputs:
30   role_data:
31     description: Role data for the docker service
32     value:
33       service_name: docker
34       config_settings:
35         tripleo::profile::base::docker::docker_namespace: {get_param: DockerNamespace}
36         tripleo::profile::base::docker::insecure_registry: {get_param: DockerNamespaceIsRegistry}
37       step_config: |
38         include ::tripleo::profile::base::docker
39       upgrade_tasks:
40         - name: Install docker packages on upgrade if missing
41           tags: step3
42           yum: name=docker state=latest
43