1 heat_template_version: ocata
4 OpenStack containerized Heat API service
9 default: 'tripleoupstream'
13 default: 'centos-binary-heat-api:latest'
15 # we configure all heat services in the same heat engine container
16 DockerHeatEngineImage:
18 default: 'centos-binary-heat-engine:latest'
22 description: Mapping of service endpoint -> protocol. Typically set
23 via parameter_defaults in the resource registry.
27 description: Mapping of service_name -> network name. Typically set
28 via parameter_defaults in the resource registry. This
29 mapping overrides those in ServiceNetMapDefaults.
39 type: ../../puppet/services/heat-api.yaml
41 EndpointMap: {get_param: EndpointMap}
42 ServiceNetMap: {get_param: ServiceNetMap}
43 DefaultPasswords: {get_param: DefaultPasswords}
47 description: Role data for the Heat API role.
49 service_name: {get_attr: [HeatBase, role_data, service_name]}
52 - get_attr: [HeatBase, role_data, config_settings]
53 - apache::default_vhost: false
54 step_config: {get_attr: [HeatBase, role_data, step_config]}
55 service_config_settings: {get_attr: [HeatBase, role_data, service_config_settings]}
56 # BEGIN DOCKER SETTINGS
57 docker_image: &heat_api_image
60 - [ {get_param: DockerNamespace}, {get_param: DockerHeatApiImage} ]
61 puppet_tags: heat_config,file,concat,file_line
66 - [ {get_param: DockerNamespace}, {get_param: DockerHeatEngineImage} ]
68 /var/lib/kolla/config_files/heat_api.json:
69 command: /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
71 - dest: /etc/heat/heat.conf
74 source: /var/lib/kolla/config_files/src/etc/heat/heat.conf
78 image: *heat_api_image
84 - /var/lib/kolla/config_files/heat_api.json:/var/lib/kolla/config_files/config.json:ro
85 - /var/lib/config-data/heat/:/var/lib/kolla/config_files/src:ro
86 - /etc/hosts:/etc/hosts:ro
87 - /etc/localtime:/etc/localtime:ro
90 - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS