diff --git a/manifests/db/mysql.pp b/manifests/db/mysql.pp index 96a7a7c4..e7debafb 100644 --- a/manifests/db/mysql.pp +++ b/manifests/db/mysql.pp @@ -65,7 +65,7 @@ class trove::db::mysql( ::openstacklib::db::mysql { 'trove': user => $user, - password_hash => mysql_password($password), + password_hash => mysql::password($password), dbname => $dbname, host => $host, charset => $charset, diff --git a/metadata.json b/metadata.json index 83048013..123f4468 100644 --- a/metadata.json +++ b/metadata.json @@ -17,6 +17,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/openstacklib", "version_requirement": ">=14.2.0 <15.0.0" diff --git a/releasenotes/notes/puppet4-mysql-func-a6bf94ee5cb5980e.yaml b/releasenotes/notes/puppet4-mysql-func-a6bf94ee5cb5980e.yaml new file mode 100644 index 00000000..9db533ed --- /dev/null +++ b/releasenotes/notes/puppet4-mysql-func-a6bf94ee5cb5980e.yaml @@ -0,0 +1,4 @@ +--- +upgrade: + - | + This module now requires a puppetlabs-mysql version >= 6.0.0