Merge "Restrict nova migration ssh tunnel"
[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   InternalTLSCAFile:
25     default: '/etc/ipa/ca.crt'
26     type: string
27     description: Specifies the default CA cert to use if TLS is used for
28                  services in the internal network.
29
30 outputs:
31   role_data:
32     description: Role for setting mysql client parameters
33     value:
34       service_name: mysql_client
35       config_settings:
36         tripleo::profile::base::database::mysql::client::mysql_client_bind_address: {get_param: [ServiceNetMap, MysqlNetwork]}
37         tripleo::profile::base::database::mysql::client::enable_ssl: {get_param: EnableInternalTLS}
38         tripleo::profile::base::database::mysql::client::ssl_ca: {get_param: InternalTLSCAFile}
39       step_config: |
40         include ::tripleo::profile::base::database::mysql::client