Merge "Add IPv6 support for the management network"
[apex-tripleo-heat-templates.git] / puppet / services / sahara-engine.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   OpenStack Sahara Engine service configured with Puppet
5
6 parameters:
7   EndpointMap:
8     default: {}
9     description: Mapping of service endpoint -> protocol. Typically set
10                  via parameter_defaults in the resource registry.
11     type: json
12   SaharaPassword:
13     default: unset
14     description: The password for the sahara service account, used by sahara-api.
15     type: string
16     hidden: true
17
18 resources:
19   SaharaBase:
20     type: ./sahara-base.yaml
21
22 outputs:
23   role_data:
24     description: Role data for the Sahara Engine role.
25     value:
26       config_settings:
27         map_merge:
28           - get_attr: [SaharaBase, role_data, config_settings]
29           - sahara_dsn: &sahara_dsn
30               list_join:
31                 - ''
32                 - - {get_param: [EndpointMap, MysqlVirtual, protocol]}
33                   - '://sahara:'
34                   - {get_param: SaharaPassword}
35                   - '@'
36                   - {get_param: [EndpointMap, MysqlVirtual, host]}
37                   - '/sahara'
38             sahara::database_connection: *sahara_dsn
39             sahara::db::mysql::password: {get_param: SaharaPassword}
40       step_config: |
41         include ::tripleo::profile::base::sahara::engine