Use puppet 4 compatible mysql functions

These was introduced in 6.0.0 and is required to
support later version of puppetlabs-mysql.

Change-Id: I314811639b0d9130b4bef483d510a5ad18f201b5
This commit is contained in:
Tobias Urdin 2019-02-08 12:29:30 +01:00
parent 6f318cb392
commit c2c5c5f513
3 changed files with 9 additions and 1 deletions

View File

@ -65,7 +65,7 @@ class trove::db::mysql(
::openstacklib::db::mysql { 'trove': ::openstacklib::db::mysql { 'trove':
user => $user, user => $user,
password_hash => mysql_password($password), password_hash => mysql::password($password),
dbname => $dbname, dbname => $dbname,
host => $host, host => $host,
charset => $charset, charset => $charset,

View File

@ -17,6 +17,10 @@
"name": "puppetlabs/rabbitmq", "name": "puppetlabs/rabbitmq",
"version_requirement": ">=8.4.0 <9.0.0" "version_requirement": ">=8.4.0 <9.0.0"
}, },
{
"name": "puppetlabs/mysql",
"version_requirement": ">=6.0.0 <9.0.0"
},
{ {
"name": "openstack/openstacklib", "name": "openstack/openstacklib",
"version_requirement": ">=14.2.0 <15.0.0" "version_requirement": ">=14.2.0 <15.0.0"

View File

@ -0,0 +1,4 @@
---
upgrade:
- |
This module now requires a puppetlabs-mysql version >= 6.0.0