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: I14be6631aa1a4d0c9e21e58e661ddd8a563c86dd
This commit is contained in:
parent
b7d5ee6c78
commit
13156df4c9
@ -58,7 +58,7 @@ class ironic::db::mysql (
|
|||||||
|
|
||||||
::openstacklib::db::mysql { 'ironic':
|
::openstacklib::db::mysql { 'ironic':
|
||||||
user => $user,
|
user => $user,
|
||||||
password_hash => mysql_password($password),
|
password_hash => mysql::password($password),
|
||||||
dbname => $dbname,
|
dbname => $dbname,
|
||||||
host => $host,
|
host => $host,
|
||||||
charset => $charset,
|
charset => $charset,
|
||||||
|
@ -56,7 +56,7 @@ class ironic::inspector::db::mysql (
|
|||||||
|
|
||||||
::openstacklib::db::mysql { 'ironic-inspector':
|
::openstacklib::db::mysql { 'ironic-inspector':
|
||||||
user => $user,
|
user => $user,
|
||||||
password_hash => mysql_password($password),
|
password_hash => mysql::password($password),
|
||||||
dbname => $dbname,
|
dbname => $dbname,
|
||||||
host => $host,
|
host => $host,
|
||||||
charset => $charset,
|
charset => $charset,
|
||||||
|
@ -13,6 +13,10 @@
|
|||||||
"name": "puppetlabs/rabbitmq",
|
"name": "puppetlabs/rabbitmq",
|
||||||
"version_requirement": ">=8.4.0 <9.0.0"
|
"version_requirement": ">=8.4.0 <9.0.0"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "puppetlabs/mysql",
|
||||||
|
"version_requirement": ">=6.0.0 <9.0.0"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "puppetlabs/stdlib",
|
"name": "puppetlabs/stdlib",
|
||||||
"version_requirement": ">=5.0.0 <6.0.0"
|
"version_requirement": ">=5.0.0 <6.0.0"
|
||||||
|
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
upgrade:
|
||||||
|
- |
|
||||||
|
This module now requires a puppetlabs-mysql version >= 6.0.0
|
Loading…
Reference in New Issue
Block a user