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: Id676f3b7685a48989b95d3f0529160b398a72d0e
This commit is contained in:
Tobias Urdin 2019-02-08 10:43:23 +01:00
parent 9849c4803c
commit 58d359cd76
3 changed files with 9 additions and 1 deletions

View File

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

View File

@ -13,6 +13,10 @@
"name": "puppetlabs/rabbitmq",
"version_requirement": ">=8.4.0 <9.0.0"
},
{
"name": "puppetlabs/mysql",
"version_requirement": ">=6.0.0 <9.0.0"
},
{
"name": "openstack/keystone",
"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