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: I34aca114343f1d079e50f6d04728e7c3745c26fa
This commit is contained in:
Tobias Urdin 2019-02-08 12:07:46 +01:00
parent c537994b03
commit e34af1ef04
3 changed files with 9 additions and 1 deletions

View File

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

View File

@ -42,6 +42,10 @@
"name": "puppetlabs/stdlib",
"version_requirement": ">=5.0.0 <6.0.0"
},
{
"name": "puppetlabs/mysql",
"version_requirement": ">=6.0.0 <9.0.0"
},
{
"name": "openstack/openstacklib",
"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