diff --git a/README.md b/README.md index 5fac06d3..4acc70ea 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ For example, in heat::db::mysql you might declare: ``` ::openstacklib::db::mysql { 'heat': - password_hash => mysql_password($password), + password_hash => mysql::password($password), dbname => $dbname, user => $user, host => $host, @@ -82,7 +82,7 @@ set up. For example, in keystone::db::mysql you would have: ``` ::openstacklib::db::mysql { 'keystone': - password_hash => mysql_password($password), + password_hash => mysql::password($password), dbname => $dbname, user => $user, host => $host, diff --git a/metadata.json b/metadata.json index 0dad1198..d9353cb4 100644 --- a/metadata.json +++ b/metadata.json @@ -11,7 +11,7 @@ }, { "name": "puppetlabs/mysql", - "version_requirement": ">=3.10.0 <7.0.0" + "version_requirement": ">=6.0.0 <9.0.0" }, { "name": "puppetlabs/stdlib", diff --git a/releasenotes/notes/puppetlabs-mysql-update-dependency-7f84516724bbd9d8.yaml b/releasenotes/notes/puppetlabs-mysql-update-dependency-7f84516724bbd9d8.yaml new file mode 100644 index 00000000..df97bff6 --- /dev/null +++ b/releasenotes/notes/puppetlabs-mysql-update-dependency-7f84516724bbd9d8.yaml @@ -0,0 +1,5 @@ +--- +upgrade: + - | + The openstacklib module and all other OpenStack modules depending on this + module now requires a puppetlabs-mysql version >= 6.0.0 diff --git a/spec/acceptance/mysql_spec.rb b/spec/acceptance/mysql_spec.rb index 00889718..e07cb531 100644 --- a/spec/acceptance/mysql_spec.rb +++ b/spec/acceptance/mysql_spec.rb @@ -11,7 +11,7 @@ describe 'openstacklib mysql' do class { '::mysql::server': } ::openstacklib::db::mysql { 'beaker': - password_hash => mysql_password('keystone'), + password_hash => mysql::password('keystone'), allowed_hosts => '127.0.0.1', } EOS