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: I4978e2706e983735f37f5441efbc6b1c8d8fd053
This commit is contained in:
Tobias Urdin 2019-02-08 12:31:52 +01:00
parent 222a88ee66
commit b6ed758a78
3 changed files with 9 additions and 1 deletions

View File

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

View File

@ -9,6 +9,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/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