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: I7244add57cf29c851ecd3cf49b3be721a13549d9
This commit is contained in:
Tobias Urdin 2019-02-08 12:11:30 +01:00
parent 0e918ef498
commit be384424e4
3 changed files with 9 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class heat::db::mysql(
::openstacklib::db::mysql { 'heat':
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": "puppetlabs/stdlib",
"version_requirement": ">=5.0.0 <6.0.0"

View File

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