From b096fa6a91458e2ae1096ab7f241c0353efafffd Mon Sep 17 00:00:00 2001 From: Tobias Urdin Date: Fri, 8 Feb 2019 12:24:56 +0100 Subject: [PATCH] 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: I01e3c803ef1aae428be01d7984efe0012aabd0f9 --- manifests/db/mysql.pp | 2 +- metadata.json | 4 ++++ releasenotes/notes/puppet4-mysql-func-361ea787e56650ee.yaml | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/puppet4-mysql-func-361ea787e56650ee.yaml diff --git a/manifests/db/mysql.pp b/manifests/db/mysql.pp index 7f5b7c4..b0e4761 100644 --- a/manifests/db/mysql.pp +++ b/manifests/db/mysql.pp @@ -49,7 +49,7 @@ class panko::db::mysql( ::openstacklib::db::mysql { 'panko': 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 ae69898..b447dc9 100644 --- a/metadata.json +++ b/metadata.json @@ -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" diff --git a/releasenotes/notes/puppet4-mysql-func-361ea787e56650ee.yaml b/releasenotes/notes/puppet4-mysql-func-361ea787e56650ee.yaml new file mode 100644 index 0000000..9db533e --- /dev/null +++ b/releasenotes/notes/puppet4-mysql-func-361ea787e56650ee.yaml @@ -0,0 +1,4 @@ +--- +upgrade: + - | + This module now requires a puppetlabs-mysql version >= 6.0.0