2a7aeabc43afeb2c8953ce2902c75a168861e5ac
[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'