diff --git a/CHANGELOG.md b/CHANGELOG.md index c7516efde..9d8ffd11e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Change log +All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org). + +## [v11.1.0](https://github.com/puppetlabs/puppetlabs-mysql/tree/v11.1.0) (2021-07-05) + +[Full Changelog](https://github.com/puppetlabs/puppetlabs-mysql/compare/v11.0.3...v11.1.0) + +### Added + +- \(MODULES-11115\) add Rocky Linux 8 compatibility [\#1405](https://github.com/puppetlabs/puppetlabs-mysql/pull/1405) ([vchepkov](https://github.com/vchepkov)) +- Use Puppet-Datatype Sensitive [\#1400](https://github.com/puppetlabs/puppetlabs-mysql/pull/1400) ([cocker-cc](https://github.com/cocker-cc)) + +### Fixed + +- Fix mysql\_user parameters update on modern MySQL [\#1415](https://github.com/puppetlabs/puppetlabs-mysql/pull/1415) ([weastur](https://github.com/weastur)) +- \(IAC-1677\) Fix issue with deprecated rspec [\#1414](https://github.com/puppetlabs/puppetlabs-mysql/pull/1414) ([ghoneycutt](https://github.com/ghoneycutt)) +- Fix broken link and style in documentation [\#1403](https://github.com/puppetlabs/puppetlabs-mysql/pull/1403) ([ghoneycutt](https://github.com/ghoneycutt)) + ## v11.0.3 [Full Changelog](https://github.com/puppetlabs/puppetlabs-mysql/compare/v11.0.2...v11.0.3) diff --git a/REFERENCE.md b/REFERENCE.md index 5b38b976f..992f714f4 100644 --- a/REFERENCE.md +++ b/REFERENCE.md @@ -661,7 +661,7 @@ Default value: `$mysql::params::mycnf_group` ##### `root_password` -Data type: `Any` +Data type: `Variant[String, Sensitive[String]]` The MySQL root password. Puppet attempts to set the root password and update `/root/.my.cnf` with it. This is required if `create_root_user` or `create_root_my_cnf` are true. If `root_password` is 'UNSET', then `create_root_user` and `create_root_my_cnf` are assumed to be false --- that is, the MySQL root user and `/root/.my.cnf` are not created. Password changes are supported; however, the old password must be set in `/root/.my.cnf`. Effectively, Puppet uses the old password, configured in `/root/my.cnf`, to set the new password in MySQL, and then updates `/root/.my.cnf` with the new password. @@ -854,7 +854,7 @@ Default value: ``undef`` ##### `backuppassword` -Data type: `Any` +Data type: `Optional[Variant[String, Sensitive[String]]]` Password to create for `backupuser`. @@ -1091,7 +1091,7 @@ Default value: `''` ##### `mysql_monitor_password` -Data type: `Any` +Data type: `Optional[Variant[String, Sensitive[String]]]` The password to create for MySQL monitoring. @@ -1197,7 +1197,7 @@ The user for the database you're creating. ##### `password` -Data type: `Any` +Data type: `Variant[String, Sensitive[String]]` The password for $user for the database you're creating. @@ -1637,19 +1637,25 @@ Type: Ruby 4.x API Hash a string as mysql's "PASSWORD()" function would do it -#### `mysql::password(String $password)` +#### `mysql::password(Variant[String, Sensitive[String]] $password, Optional[Boolean] $sensitive)` Hash a string as mysql's "PASSWORD()" function would do it -Returns: `String` hash +Returns: `Variant[String, Sensitive[String]]` hash The mysql password hash from the clear text password. ##### `password` -Data type: `String` +Data type: `Variant[String, Sensitive[String]]` Plain text password. +##### `sensitive` + +Data type: `Optional[Boolean]` + +If the Postgresql-Passwordhash should be of Datatype Sensitive[String] + ### `mysql::strip_hash` Type: Ruby 4.x API @@ -1675,18 +1681,24 @@ Type: Ruby 4.x API DEPRECATED. Use the namespaced function [`mysql::password`](#mysqlpassword) instead. -#### `mysql_password(String $password)` +#### `mysql_password(Variant[String, Sensitive[String]] $password, Optional[Boolean] $sensitive)` The mysql_password function. -Returns: `String` The mysql password hash from the 4.x function mysql::password. +Returns: `Variant[String, Sensitive[String]]` The mysql password hash from the 4.x function mysql::password. ##### `password` -Data type: `String` +Data type: `Variant[String, Sensitive[String]]` Plain text password. +##### `sensitive` + +Data type: `Optional[Boolean]` + + + ## Data types ### `Mysql::Options` diff --git a/metadata.json b/metadata.json index 555f53300..ab5785344 100644 --- a/metadata.json +++ b/metadata.json @@ -1,6 +1,6 @@ { "name": "puppetlabs-mysql", - "version": "11.0.3", + "version": "11.1.0", "author": "puppetlabs", "summary": "Installs, configures, and manages the MySQL service.", "license": "Apache-2.0",