1 heat_template_version: pike
4 Configures docker on the host
7 DockerInsecureRegistryAddress:
8 description: Optional. The IP Address and Port of an insecure docker
9 namespace that will be configured in /etc/sysconfig/docker.
14 description: Mapping of service endpoint -> protocol. Typically set
15 via parameter_defaults in the resource registry.
19 description: Dictionary packing service data
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.
32 description: Role name on which the service is applied
36 description: Parameters specific to the role
40 insecure_registry_is_empty: {equals : [{get_param: DockerInsecureRegistryAddress}, '']}
44 description: Role data for the docker service
49 - insecure_registry_is_empty
51 - tripleo::profile::base::docker::insecure_registry_address: {get_param: DockerInsecureRegistryAddress}
53 include ::tripleo::profile::base::docker
55 - name: Install docker packages on upgrade if missing
57 yum: name=docker state=latest