Merge "mysqlclient: Use actual parameter in puppet to set bind-address"
[apex-tripleo-heat-templates.git] / puppet / services / database / mysql-client.yaml
1 heat_template_version: ocata
2
3 description: >
4   Mysql client settings
5
6 parameters:
7   ServiceNetMap:
8     default: {}
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.
12     type: json
13   DefaultPasswords:
14     default: {}
15     type: json
16   EndpointMap:
17     default: {}
18     description: Mapping of service endpoint -> protocol. Typically set
19                  via parameter_defaults in the resource registry.
20     type: json
21   EnableInternalTLS:
22     type: boolean
23     default: false
24
25 outputs:
26   role_data:
27     description: Role for setting mysql client parameters
28     value:
29       service_name: mysql_client
30       config_settings:
31         tripleo::profile::base::database::mysql::client::mysql_client_bind_address: {get_param: [ServiceNetMap, MysqlNetwork]}
32         tripleo::profile::base::database::mysql::client::enable_ssl: {get_param: EnableInternalTLS}
33       step_config: |
34         include ::tripleo::profile::base::database::mysql::client