diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-02-20 18:29:47 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-02-20 18:29:47 +0000 |
commit | 435d2709860bf7044be860354d7d31cf6d43af6c (patch) | |
tree | 110ed7f8488e0694b5c427925a27d2d30764afad /puppet/services/database | |
parent | d5b0c38f0b9ed0e7ca2eb4e1e2f6aaa003268b33 (diff) | |
parent | 90431683b5927abb066d7964d513828b5488001c (diff) |
Merge "Make the DB URIs host-independent for all services"
Diffstat (limited to 'puppet/services/database')
-rw-r--r-- | puppet/services/database/mysql-client.yaml | 30 |
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 |