1 heat_template_version: ocata
4 OpenStack containerized Heat Engine service
9 default: 'tripleoupstream'
11 DockerHeatEngineImage:
13 default: 'centos-binary-heat-engine:latest'
17 description: Mapping of service endpoint -> protocol. Typically set
18 via parameter_defaults in the resource registry.
22 description: Mapping of service_name -> network name. Typically set
23 via parameter_defaults in the resource registry. This
24 mapping overrides those in ServiceNetMapDefaults.
34 type: ../../puppet/services/heat-engine.yaml
36 EndpointMap: {get_param: EndpointMap}
37 ServiceNetMap: {get_param: ServiceNetMap}
38 DefaultPasswords: {get_param: DefaultPasswords}
42 description: Role data for the Heat Engine role.
44 service_name: {get_attr: [HeatBase, role_data, service_name]}
47 - get_attr: [HeatBase, role_data, config_settings]
48 - apache::default_vhost: false
49 step_config: {get_attr: [HeatBase, role_data, step_config]}
50 service_config_settings: {get_attr: [HeatBase, role_data, service_config_settings]}
51 # BEGIN DOCKER SETTINGS
52 docker_image: &heat_engine_image
55 - [ {get_param: DockerNamespace}, {get_param: DockerHeatEngineImage} ]
56 puppet_tags: heat_config,file,concat,file_line
58 config_image: *heat_engine_image
60 /var/lib/kolla/config_files/heat_engine.json:
61 command: /usr/bin/heat-engine --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
63 - dest: /etc/heat/heat.conf
66 source: /var/lib/kolla/config_files/src/etc/heat/heat.conf
70 image: *heat_engine_image
75 - /var/lib/config-data/heat/etc/heat:/etc/heat:ro
76 - /etc/hosts:/etc/hosts:ro
77 - /etc/localtime:/etc/localtime:ro
78 command: ['heat-manage', 'db_sync']
81 image: *heat_engine_image
87 - /var/lib/kolla/config_files/heat_engine.json:/var/lib/kolla/config_files/config.json:ro
88 - /var/lib/config-data/heat/:/var/lib/kolla/config_files/src:ro
89 - /etc/hosts:/etc/hosts:ro
90 - /etc/localtime:/etc/localtime:ro
92 - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS