aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/database/mysql-client.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-02-22 19:34:15 +0000
committerGerrit Code Review <review@openstack.org>2017-02-22 19:34:15 +0000
commit46117f48ab134395cc925883a1f8f4e7174c2a3c (patch)
tree5a583445bd6db7dd1412b84211ee7174b5e2fe79 /puppet/services/database/mysql-client.yaml
parent77af536c027cd2cc2d82bba0e24f112b4b5c7a3b (diff)
parent3a7ed4403fc5f53e88210577e5e912a1057574db (diff)
Merge "Make the DB URIs host-independent for all services" into stable/ocata
Diffstat (limited to 'puppet/services/database/mysql-client.yaml')
-rw-r--r--puppet/services/database/mysql-client.yaml30
1 files changed, 30 insertions, 0 deletions
diff --git a/puppet/services/database/mysql-client.yaml b/puppet/services/database/mysql-client.yaml
new file mode 100644
index 00000000..1415391c
--- /dev/null
+++ b/puppet/services/database/mysql-client.yaml
@@ -0,0 +1,30 @@
+heat_template_version: ocata
+
+description: >
+ Mysql client settings
+
+parameters:
+ ServiceNetMap:
+ default: {}
+ description: Mapping of service_name -> network name. Typically set
+ via parameter_defaults in the resource registry. This
+ mapping overrides those in ServiceNetMapDefaults.
+ type: json
+ DefaultPasswords:
+ default: {}
+ type: json
+ EndpointMap:
+ default: {}
+ description: Mapping of service endpoint -> protocol. Typically set
+ via parameter_defaults in the resource registry.
+ type: json
+
+outputs:
+ role_data:
+ description: Role for setting mysql client parameters
+ value:
+ service_name: mysql_client
+ config_settings:
+ tripleo::profile::base:database::mysql::client_bind_address: {get_param: [ServiceNetMap, MysqlNetwork]}
+ step_config: |
+ include ::tripleo::profile::base::database::mysql::client