From ac521fdb13cc2237fd89283e35454e2def8ba688 Mon Sep 17 00:00:00 2001 From: Auto-release Date: Wed, 13 May 2020 11:26:16 +0000 Subject: [PATCH] Release version 10.5.0 --- CHANGELOG.md | 23 +++++++++++++++++---- REFERENCE.md | 56 +++++++++++++++++++++++++++++++++++++++++++++++++-- metadata.json | 2 +- 3 files changed, 74 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 87be362e0..ceb714c9b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,17 +2,32 @@ 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). -## [v10.4.0](https://github.com/puppetlabs/puppetlabs-mysql/tree/v10.3.0) (2020-02-27) +## [v10.5.0](https://github.com/puppetlabs/puppetlabs-mysql/tree/v10.5.0) (2020-05-13) -[Full Changelog](https://github.com/puppetlabs/puppetlabs-mysql/compare/v10.3.0...v10.3.0) +[Full Changelog](https://github.com/puppetlabs/puppetlabs-mysql/compare/v10.4.0...v10.5.0) + +### Added + +- Support mariadb's ed25519-based authentication [\#1292](https://github.com/puppetlabs/puppetlabs-mysql/pull/1292) ([dciabrin](https://github.com/dciabrin)) +- Allow changing the mysql-config-file group-ownership [\#1284](https://github.com/puppetlabs/puppetlabs-mysql/pull/1284) ([unki](https://github.com/unki)) + +### Fixed + +- Remove legacy \(old API\) `mysql\_password` function [\#1299](https://github.com/puppetlabs/puppetlabs-mysql/pull/1299) ([alexjfisher](https://github.com/alexjfisher)) +- Improve differences between generated mysql service id values [\#1293](https://github.com/puppetlabs/puppetlabs-mysql/pull/1293) ([ryaner](https://github.com/ryaner)) +- \(MODULES-10023\) Fix multiple xtrabackup regressions [\#1245](https://github.com/puppetlabs/puppetlabs-mysql/pull/1245) ([fraenki](https://github.com/fraenki)) +- Fix binarylog by allowing users to specify managed directories [\#1194](https://github.com/puppetlabs/puppetlabs-mysql/pull/1194) ([elfranne](https://github.com/elfranne)) + +## [v10.4.0](https://github.com/puppetlabs/puppetlabs-mysql/tree/v10.4.0) (2020-03-02) + +[Full Changelog](https://github.com/puppetlabs/puppetlabs-mysql/compare/v10.3.0...v10.4.0) ### Added - Allow adapting MySQL configuration file's permissions mode [\#1278](https://github.com/puppetlabs/puppetlabs-mysql/pull/1278) ([unki](https://github.com/unki)) - pdksync - \(FM-8581\) - Debian 10 added to travis and provision file refactored [\#1275](https://github.com/puppetlabs/puppetlabs-mysql/pull/1275) ([david22swan](https://github.com/david22swan)) -- Puppet 4 functions [\#1274](https://github.com/puppetlabs/puppetlabs-mysql/pull/1274) ([binford2k](https://github.com/binford2k)) - Allow backupcompress for xtrabackup profile [\#1196](https://github.com/puppetlabs/puppetlabs-mysql/pull/1196) ([Spuffnduff](https://github.com/Spuffnduff)) -- Enable module to not use default options [\#1192](https://github.com/puppetlabs/puppetlabs-mysql/pull/1192) ([mauricemeyer](https://github.com/mauricemeyer)) +- Enable module to not use default options [\#1192](https://github.com/puppetlabs/puppetlabs-mysql/pull/1192) ([morremeyer](https://github.com/morremeyer)) ## [v10.3.0](https://github.com/puppetlabs/puppetlabs-mysql/tree/v10.3.0) (2019-12-11) diff --git a/REFERENCE.md b/REFERENCE.md index fb8fc6c30..0e3a8c66e 100644 --- a/REFERENCE.md +++ b/REFERENCE.md @@ -29,10 +29,10 @@ _Private Classes_ * `mysql::client::install`: Private class for MySQL client install. * `mysql::params`: Params class. * `mysql::server::account_security`: Private class for ensuring localhost accounts do not exist -* `mysql::server::binarylog`: Binary log configuration requires the mysql user to be present. This must be done after package install * `mysql::server::config`: Private class for MySQL server configuration. * `mysql::server::install`: Private class for managing MySQL package. * `mysql::server::installdb`: Builds initial databases on installation. +* `mysql::server::managed_dirs`: Binary log configuration requires the mysql user to be present. This must be done after package install * `mysql::server::providers`: Convenience class to call each of the three providers with the corresponding hashes provided in mysql::server. * `mysql::server::root_password`: Private class for managing the root password * `mysql::server::service`: Private class for managing the MySQL service @@ -62,6 +62,10 @@ then returns the resulting hash. * [`mysql::strip_hash`](#mysqlstrip_hash): When given a hash this function strips out all blank entries. * [`mysql_password`](#mysql_password): DEPRECATED. Use the namespaced function [`mysql::password`](#mysqlpassword) instead. +**Data types** + +* [`Mysql::Options`](#mysqloptions): + **Tasks** * [`export`](#export): Allows you to backup your database to local file. @@ -411,6 +415,14 @@ The location, as a path, of the MySQL configuration file. Default value: $mysql::params::config_file +##### `config_file_mode` + +Data type: `Any` + +The MySQL configuration file's permissions mode. + +Default value: $mysql::params::config_file_mode + ##### `includedir` Data type: `Any` @@ -443,6 +455,14 @@ Whether the MySQL configuration file should be managed. Valid values are `true`, Default value: $mysql::params::manage_config_file +##### `options` + +Data type: `Mysql::Options` + +A hash of options structured like the override_options, but not merged with the default options. Use this if you don’t want your options merged with the default options. + +Default value: {} + ##### `override_options` Data type: `Any` @@ -515,6 +535,22 @@ The name of the group of the MySQL daemon user. Can be a group name or a group I Default value: $mysql::params::mysql_group +##### `mycnf_owner` + +Data type: `Any` + +Name or user-id who owns the mysql-config-file. + +Default value: $mysql::params::mycnf_owner + +##### `mycnf_group` + +Data type: `Any` + +Name or group-id which owns the mysql-config-file. + +Default value: $mysql::params::mycnf_group + ##### `root_password` Data type: `Any` @@ -715,7 +751,7 @@ Default value: $mysql::params::root_group Data type: `Any` -Whether or not to compress the backup (when using the mysqldump provider) +Whether or not to compress the backup (when using the mysqldump or xtrabackup provider) Default value: `true` @@ -791,6 +827,14 @@ Dump triggers for each dumped table when doing a `file_per_database` backup. Default value: `false` +##### `incremental_backups` + +Data type: `Any` + +A flag to activate/deactivate incremental backups. Currently only supported by the xtrabackup provider. + +Default value: `true` + ##### `ensure` Data type: `Any` @@ -1326,6 +1370,14 @@ Data type: `String` Plain text password. +## Data types + +### Mysql::Options + +The Mysql::Options data type. + +Alias of `Hash[String, Hash]` + ## Tasks ### export diff --git a/metadata.json b/metadata.json index 57a64df70..d34599b64 100644 --- a/metadata.json +++ b/metadata.json @@ -1,6 +1,6 @@ { "name": "puppetlabs-mysql", - "version": "10.4.0", + "version": "10.5.0", "author": "puppetlabs", "summary": "Installs, configures, and manages the MySQL service.", "license": "Apache-2.0",