Add DefaultPasswords to composable services
[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   ServiceNetMap:
30     default: {}
31     description: Mapping of service_name -> network name. Typically set
32                  via parameter_defaults in the resource registry.  This
33                  mapping overrides those in ServiceNetMapDefaults.
34     type: json
35   DefaultPasswords:
36     default: {}
37     type: json
38   EndpointMap:
39     default: {}
40     description: Mapping of service endpoint -> protocol. Typically set
41                  via parameter_defaults in the resource registry.
42     type: json
43
44 outputs:
45   role_data:
46     description: Shared role data for the Heat services.
47     value:
48       service_name: heat_base
49       config_settings:
50         heat::rabbit_userid: {get_param: RabbitUserName}
51         heat::rabbit_password: {get_param: RabbitPassword}
52         heat::rabbit_use_ssl: {get_param: RabbitClientUseSSL}
53         heat::rabbit_port: {get_param: RabbitClientPort}
54         heat::debug: {get_param: Debug}
55         heat::enable_proxy_headers_parsing: true
56         # We need this because the default heat policy.json no longer works on TripleO
57         # https://git.openstack.org/cgit/openstack/heat/commit/?id=ac86702172ddf01f5bdc3f3cd99d2e32ad9b7024
58         heat::policy::policies:
59           context_is_admin:
60             key: 'context_is_admin'
61             value: 'role:admin'
62         heat::rabbit_heartbeat_timeout_threshold: 60
63         heat::keystone_tenant: 'service'
64         heat::keystone::domain::domain_name: 'heat_stack'
65         heat::keystone::domain::domain_admin: 'heat_stack_domain_admin'
66         heat::keystone::domain::domain_admin_email: 'heat_stack_domain_admin@localhost'
67         heat::auth_plugin: 'password'
68         heat::cron::purge_deleted::age: 30
69         heat::cron::purge_deleted::age_type: 'days'
70         heat::cron::purge_deleted::maxdelay: 3600
71         heat::cron::purge_deleted::destination: '/dev/null'
72         heat::db::database_db_max_retries: -1
73         heat::db::database_max_retries: -1