091a4e9b0358481a013ed451b8ea30f025f5ae3a
[apex-tripleo-heat-templates.git] / puppet / services / heat-base.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   Openstack Heat base service. Shared for all Heat services.
5
6 parameters:
7   Debug:
8     default: ''
9     description: Set to True to enable debugging on all services.
10     type: string
11   RabbitPassword:
12     description: The password for RabbitMQ
13     type: string
14     hidden: true
15   RabbitUserName:
16     default: guest
17     description: The username for RabbitMQ
18     type: string
19   RabbitClientUseSSL:
20     default: false
21     description: >
22         Rabbit client subscriber parameter to specify
23         an SSL connection to the RabbitMQ host.
24     type: string
25   RabbitClientPort:
26     default: 5672
27     description: Set rabbit subscriber port, change this if using SSL
28     type: number
29
30 outputs:
31   role_data:
32     description: Shared role data for the Heat services.
33     value:
34       service_name: heat_base
35       config_settings:
36         heat::rabbit_userid: {get_param: RabbitUserName}
37         heat::rabbit_password: {get_param: RabbitPassword}
38         heat::rabbit_use_ssl: {get_param: RabbitClientUseSSL}
39         heat::rabbit_port: {get_param: RabbitClientPort}
40         heat::debug: {get_param: Debug}
41         heat::enable_proxy_headers_parsing: true
42         # We need this because the default heat policy.json no longer works on TripleO
43         # https://git.openstack.org/cgit/openstack/heat/commit/?id=ac86702172ddf01f5bdc3f3cd99d2e32ad9b7024
44         heat::policy::policies:
45           context_is_admin:
46             key: 'context_is_admin'
47             value: 'role:admin'
48         heat::rabbit_heartbeat_timeout_threshold: 60
49         heat::keystone_tenant: 'service'
50         heat::keystone::domain::domain_name: 'heat_stack'
51         heat::keystone::domain::domain_admin: 'heat_stack_domain_admin'
52         heat::keystone::domain::domain_admin_email: 'heat_stack_domain_admin@localhost'
53         heat::auth_plugin: 'password'
54         heat::cron::purge_deleted::age: 30
55         heat::cron::purge_deleted::age_type: 'days'
56         heat::cron::purge_deleted::maxdelay: 3600
57         heat::cron::purge_deleted::destination: '/dev/null'
58         heat::db::database_db_max_retries: -1
59         heat::db::database_max_retries: -1