Merge "Enable Neutron LBaaS Integration"
[apex-tripleo-heat-templates.git] / puppet / services / docker.yaml
1 heat_template_version: pike
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   ServiceData:
20     default: {}
21     description: Dictionary packing service data
22     type: json
23   ServiceNetMap:
24     default: {}
25     description: Mapping of service_name -> network name. Typically set
26                  via parameter_defaults in the resource registry.  This
27                  mapping overrides those in ServiceNetMapDefaults.
28     type: json
29   DefaultPasswords:
30     default: {}
31     type: json
32   RoleName:
33     default: ''
34     description: Role name on which the service is applied
35     type: string
36   RoleParameters:
37     default: {}
38     description: Parameters specific to the role
39     type: json
40
41 outputs:
42   role_data:
43     description: Role data for the docker service
44     value:
45       service_name: docker
46       config_settings:
47         tripleo::profile::base::docker::docker_namespace: {get_param: DockerNamespace}
48         tripleo::profile::base::docker::insecure_registry: {get_param: DockerNamespaceIsRegistry}
49       step_config: |
50         include ::tripleo::profile::base::docker
51       upgrade_tasks:
52         - name: Install docker packages on upgrade if missing
53           tags: step3
54           yum: name=docker state=latest
55