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: I2fb1b86cf6886579b5960010b543076fc11de6c8
This commit is contained in:
Tobias Urdin 2019-02-08 12:15:29 +01:00
parent ae8505d565
commit b4957a74c6
3 changed files with 9 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class magnum::db::mysql(
::openstacklib::db::mysql { 'magnum':
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