1 heat_template_version: 2016-10-14
4 Openstack Heat Engine service configured with Puppet
9 description: Mapping of service_name -> network name. Typically set
10 via parameter_defaults in the resource registry. This
11 mapping overrides those in ServiceNetMapDefaults.
18 description: Mapping of service endpoint -> protocol. Typically set
19 via parameter_defaults in the resource registry.
25 Whether to create cron job for purging soft deleted rows in the Heat database.
28 description: Number of workers for Heat service.
31 description: The password for the Heat service and db account, used by the Heat services.
34 HeatStackDomainAdminPassword:
35 description: Password for heat_stack_domain_admin user.
38 HeatAuthEncryptionKey:
39 description: Auth encryption key for heat-engine
46 type: ./heat-base.yaml
48 ServiceNetMap: {get_param: ServiceNetMap}
49 DefaultPasswords: {get_param: DefaultPasswords}
50 EndpointMap: {get_param: EndpointMap}
54 description: Role data for the Heat Engine role.
56 service_name: heat_engine
59 - get_attr: [HeatBase, role_data, config_settings]
60 - heat::engine::num_engine_workers: {get_param: HeatWorkers}
61 heat::engine::configure_delegated_roles: false
62 heat::engine::trusts_delegated_roles: []
63 tripleo::profile::base::heat::manage_db_purge: {get_param: HeatEnableDBPurge}
64 heat::database_connection:
67 - - {get_param: [EndpointMap, MysqlInternal, protocol]}
69 - {get_param: HeatPassword}
71 - {get_param: [EndpointMap, MysqlInternal, host]}
73 heat::keystone_ec2_uri: {get_param: [EndpointMap, KeystoneEC2, uri]}
74 heat::db::mysql::password: {get_param: HeatPassword}
75 heat::keystone::domain::domain_password: {get_param: HeatStackDomainAdminPassword}
76 heat::db::mysql::user: heat
77 heat::db::mysql::host: {get_param: [EndpointMap, MysqlInternal, host_nobrackets]}
78 heat::db::mysql::dbname: heat
79 heat::db::mysql::allowed_hosts:
81 - "%{hiera('mysql_bind_host')}"
82 heat::engine::auth_encryption_key:
84 expression: $.data.passwords.where($ != '').first()
87 - {get_param: HeatAuthEncryptionKey}
88 - {get_param: [DefaultPasswords, heat_auth_encryption_key]}
90 include ::tripleo::profile::base::heat::engine