Merge "Add all existing parameter mismatches to exclusion list"
[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   DockerInsecureRegistryAddress:
8     description: Optional. The IP Address and Port of an insecure docker
9                  namespace that will be configured in /etc/sysconfig/docker.
10     type: string
11     default: ''
12   EndpointMap:
13     default: {}
14     description: Mapping of service endpoint -> protocol. Typically set
15                  via parameter_defaults in the resource registry.
16     type: json
17   ServiceData:
18     default: {}
19     description: Dictionary packing service data
20     type: json
21   ServiceNetMap:
22     default: {}
23     description: Mapping of service_name -> network name. Typically set
24                  via parameter_defaults in the resource registry.  This
25                  mapping overrides those in ServiceNetMapDefaults.
26     type: json
27   DefaultPasswords:
28     default: {}
29     type: json
30   RoleName:
31     default: ''
32     description: Role name on which the service is applied
33     type: string
34   RoleParameters:
35     default: {}
36     description: Parameters specific to the role
37     type: json
38
39 conditions:
40   insecure_registry_is_empty: {equals : [{get_param: DockerInsecureRegistryAddress}, '']}
41
42 outputs:
43   role_data:
44     description: Role data for the docker service
45     value:
46       service_name: docker
47       config_settings:
48         if:
49         - insecure_registry_is_empty
50         - {}
51         - tripleo::profile::base::docker::insecure_registry_address: {get_param: DockerInsecureRegistryAddress}
52       step_config: |
53         include ::tripleo::profile::base::docker
54       upgrade_tasks:
55         - name: Install docker packages on upgrade if missing
56           tags: step3
57           yum: name=docker state=latest
58