Skip to content

Commit bf75e01

Browse files
authored
Merge pull request #1489 from puppetlabs/release-prep
Release prep v13.0.0
2 parents a3f786f + 9008336 commit bf75e01

File tree

3 files changed

+86
-32
lines changed

3 files changed

+86
-32
lines changed

CHANGELOG.md

+36-9
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,55 @@
22

33
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).
44

5-
## [v12.0.3](https://github.com/puppetlabs/puppetlabs-mysql/tree/v12.0.3) - 2022-05-25
5+
## [v13.0.0](https://github.com/puppetlabs/puppetlabs-mysql/tree/v13.0.0) (2022-08-25)
66

7-
[Full Changelog](https://github.com/puppetlabs/puppetlabs-mysql/compare/v12.0.2...v12.0.3)
7+
[Full Changelog](https://github.com/puppetlabs/puppetlabs-mysql/compare/v12.0.3...v13.0.0)
8+
9+
### Changed
10+
11+
- Harden db defined type [\#1484](https://github.com/puppetlabs/puppetlabs-mysql/pull/1484) ([chelnak](https://github.com/chelnak))
12+
13+
### Added
14+
15+
- pdksync - \(GH-cat-11\) Certify Support for Ubuntu 22.04 [\#1483](https://github.com/puppetlabs/puppetlabs-mysql/pull/1483) ([david22swan](https://github.com/david22swan))
16+
- \[Compatibility\] Add Raspbian OS to provider configuration [\#1481](https://github.com/puppetlabs/puppetlabs-mysql/pull/1481) ([jordi-upc](https://github.com/jordi-upc))
17+
- Allow excludedatabases when using file\_per\_database [\#1480](https://github.com/puppetlabs/puppetlabs-mysql/pull/1480) ([HT43-bqxFqB](https://github.com/HT43-bqxFqB))
18+
- pdksync - \(GH-cat-12\) Add Support for Redhat 9 [\#1477](https://github.com/puppetlabs/puppetlabs-mysql/pull/1477) ([david22swan](https://github.com/david22swan))
819

920
### Fixed
1021

11-
- (IAC-1595) MySQL maintenance [#1472](https://github.com/puppetlabs/puppetlabs-mysql/pull/1472) ([LukasAud](https://github.com/LukasAud))
22+
- Harden config class [\#1487](https://github.com/puppetlabs/puppetlabs-mysql/pull/1487) ([chelnak](https://github.com/chelnak))
23+
- Harden service class [\#1486](https://github.com/puppetlabs/puppetlabs-mysql/pull/1486) ([chelnak](https://github.com/chelnak))
24+
- Harden root password class [\#1485](https://github.com/puppetlabs/puppetlabs-mysql/pull/1485) ([chelnak](https://github.com/chelnak))
25+
- Use MariaDB for Ubuntu 20.04 [\#1449](https://github.com/puppetlabs/puppetlabs-mysql/pull/1449) ([treydock](https://github.com/treydock))
26+
- Add support for mariabackup [\#1447](https://github.com/puppetlabs/puppetlabs-mysql/pull/1447) ([rsynnest](https://github.com/rsynnest))
27+
28+
## [v12.0.3](https://github.com/puppetlabs/puppetlabs-mysql/tree/v12.0.3) (2022-05-25)
1229

13-
- Solve issue with repeated restarts if ssl-disable is true [#1425](https://github.com/puppetlabs/puppetlabs-mysql/pull/1425) ([markasammut](https://github.com/markasammut))
30+
[Full Changelog](https://github.com/puppetlabs/puppetlabs-mysql/compare/v12.0.2...v12.0.3)
31+
32+
### Fixed
33+
34+
- \(IAC-1595\) MySQL maintenance [\#1472](https://github.com/puppetlabs/puppetlabs-mysql/pull/1472) ([LukasAud](https://github.com/LukasAud))
35+
- Solve issue with repeated restarts if ssl-disable is true [\#1425](https://github.com/puppetlabs/puppetlabs-mysql/pull/1425) ([markasammut](https://github.com/markasammut))
1436

1537
## [v12.0.2](https://github.com/puppetlabs/puppetlabs-mysql/tree/v12.0.2) (2022-04-19)
1638

1739
[Full Changelog](https://github.com/puppetlabs/puppetlabs-mysql/compare/v12.0.1...v12.0.2)
1840

41+
### Added
42+
43+
- pdksync - \(IAC-1753\) - Add Support for AlmaLinux 8 [\#1444](https://github.com/puppetlabs/puppetlabs-mysql/pull/1444) ([david22swan](https://github.com/david22swan))
44+
- pdksync - \(IAC-1751\) - Add Support for Rocky 8 [\#1442](https://github.com/puppetlabs/puppetlabs-mysql/pull/1442) ([david22swan](https://github.com/david22swan))
45+
1946
### Fixed
2047

21-
- add mysql_native_password plugin to authentication_string vs password [\#1441](https://github.com/puppetlabs/puppetlabs-mysql/pull/1441) ([Heidistein](https://github.com/Heidistein))
22-
- fix Error: Transaction store file transactionstore.yaml is corrupt [\#1429](https://github.com/puppetlabs/puppetlabs-mysql/pull/1429) ([andeman](https://github.com/andeman))
23-
- pdksync - \(MAINT\) Remove RHEL 5 family support [\#1369](https://github.com/puppetlabs/puppetlabs-mysql/pull/1369) ([sanfrancrisko](https://github.com/sanfrancrisko))
24-
- pdksync - \(MAINT\) Remove SLES 11 support [\#1370](https://github.com/puppetlabs/puppetlabs-mysql/pull/1370) ([sanfrancrisko](https://github.com/sanfrancrisko))
25-
- pdksync - \(GH-iac-334\) Remove Support for Ubuntu 16.04 [\#1457](https://github.com/puppetlabs/puppetlabs-mysql/pull/1457) ([david22swan](https://github.com/david22swan))
2648
- \(Bugfix\) Grant privileges idempotency Fix [\#1466](https://github.com/puppetlabs/puppetlabs-mysql/pull/1466) ([LukasAud](https://github.com/LukasAud))
49+
- pdksync - \(GH-iac-334\) Remove Support for Ubuntu 16.04 [\#1457](https://github.com/puppetlabs/puppetlabs-mysql/pull/1457) ([david22swan](https://github.com/david22swan))
50+
- pdksync - \(IAC-1787\) Remove Support for CentOS 6 [\#1450](https://github.com/puppetlabs/puppetlabs-mysql/pull/1450) ([david22swan](https://github.com/david22swan))
51+
- add mysql\_native\_password plugin to authentication\_string vs password [\#1441](https://github.com/puppetlabs/puppetlabs-mysql/pull/1441) ([Heidistein](https://github.com/Heidistein))
52+
- fix Error: Transaction store file transactionstore.yaml is corrupt [\#1429](https://github.com/puppetlabs/puppetlabs-mysql/pull/1429) ([andeman](https://github.com/andeman))
53+
- Combine multiple grants into one while checking state [\#1428](https://github.com/puppetlabs/puppetlabs-mysql/pull/1428) ([fuyar](https://github.com/fuyar))
2754

2855
## [v12.0.1](https://github.com/puppetlabs/puppetlabs-mysql/tree/v12.0.1) (2021-08-26)
2956

REFERENCE.md

+49-22
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,6 @@ The following parameters are available in the `mysql::server` class:
464464
* [`config_file_mode`](#config_file_mode)
465465
* [`includedir`](#includedir)
466466
* [`install_options`](#install_options)
467-
* [`install_secret_file`](#install_secret_file)
468467
* [`manage_config_file`](#manage_config_file)
469468
* [`options`](#options)
470469
* [`override_options`](#override_options)
@@ -529,14 +528,6 @@ Passes [install_options](https://docs.puppetlabs.com/references/latest/type.html
529528

530529
Default value: ``undef``
531530

532-
##### <a name="install_secret_file"></a>`install_secret_file`
533-
534-
Data type: `Any`
535-
536-
Path to secret file containing temporary root password.
537-
538-
Default value: `$mysql::params::install_secret_file`
539-
540531
##### <a name="manage_config_file"></a>`manage_config_file`
541532

542533
Data type: `Any`
@@ -795,17 +786,26 @@ Create and manage a MySQL backup.
795786

796787
```puppet
797788
class { 'mysql::server':
798-
root_password => 'password'
789+
root_password => 'password'
799790
}
800791
class { 'mysql::server::backup':
801-
backupuser => 'myuser',
802-
backuppassword => 'mypassword',
803-
backupdir => '/tmp/backups',
792+
backupuser => 'myuser',
793+
backuppassword => 'mypassword',
794+
backupdir => '/tmp/backups',
795+
}
796+
```
797+
798+
##### Create a basic MySQL backup using mariabackup:
799+
800+
```puppet
801+
class { 'mysql::server':
802+
root_password => 'password'
804803
}
805804
class { 'mysql::server::backup':
806-
backupmethod => 'mariabackup',
807-
provider => 'xtrabackup',
808-
backupdir => '/tmp/backups',
805+
backupmethod => 'mariabackup',
806+
backupmethod_package => 'mariadb-backup'
807+
provider => 'xtrabackup',
808+
backupdir => '/tmp/backups',
809809
}
810810
```
811811

@@ -841,6 +841,8 @@ The following parameters are available in the `mysql::server::backup` class:
841841
* [`install_cron`](#install_cron)
842842
* [`compression_command`](#compression_command)
843843
* [`compression_extension`](#compression_extension)
844+
* [`backupmethod_package`](#backupmethod_package)
845+
* [`excludedatabases`](#excludedatabases)
844846

845847
##### <a name="backupuser"></a>`backupuser`
846848

@@ -1022,7 +1024,7 @@ Default value: `'/usr/bin:/usr/sbin:/bin:/sbin'`
10221024

10231025
Data type: `Any`
10241026

1025-
Sets the server backup implementation. Valid values are:
1027+
Sets the server backup implementation. Valid values are: xtrabackup, mysqldump, mysqlbackup
10261028

10271029
Default value: `'mysqldump'`
10281030

@@ -1067,6 +1069,22 @@ Configure the file extension for the compressed backup (when using the mysqldump
10671069

10681070
Default value: ``undef``
10691071

1072+
##### <a name="backupmethod_package"></a>`backupmethod_package`
1073+
1074+
Data type: `Any`
1075+
1076+
The package which provides the binary specified by the backupmethod parameter.
1077+
1078+
Default value: `$mysql::params::xtrabackup_package_name`
1079+
1080+
##### <a name="excludedatabases"></a>`excludedatabases`
1081+
1082+
Data type: `Array[String]`
1083+
1084+
Give a list of excluded databases when using file_per_database, e.g.: [ 'information_schema', 'performance_schema' ]
1085+
1086+
Default value: `[]`
1087+
10701088
## Defined types
10711089

10721090
### <a name="mysqldb"></a>`mysql::db`
@@ -1090,6 +1108,7 @@ mysql::db { 'mydb':
10901108

10911109
The following parameters are available in the `mysql::db` defined type:
10921110

1111+
* [`name`](#name)
10931112
* [`user`](#user)
10941113
* [`password`](#password)
10951114
* [`tls_options`](#tls_options)
@@ -1106,6 +1125,14 @@ The following parameters are available in the `mysql::db` defined type:
11061125
* [`import_cat_cmd`](#import_cat_cmd)
11071126
* [`mysql_exec_path`](#mysql_exec_path)
11081127

1128+
##### <a name="name"></a>`name`
1129+
1130+
The name of the database to create. Database names must:
1131+
* be longer than 64 characters.
1132+
* not contain / \ or . characters.
1133+
* not contain characters that are not permitted in file names.
1134+
* not end with space characters.
1135+
11091136
##### <a name="user"></a>`user`
11101137

11111138
Data type: `Any`
@@ -1128,7 +1155,7 @@ Default value: ``undef``
11281155

11291156
##### <a name="dbname"></a>`dbname`
11301157

1131-
Data type: `Any`
1158+
Data type: `String`
11321159

11331160
The name of the database to create.
11341161

@@ -1176,9 +1203,9 @@ Default value: ``undef``
11761203

11771204
##### <a name="sql"></a>`sql`
11781205

1179-
Data type: `Optional[Variant[Array, Hash, String]]`
1206+
Data type: `Optional[Array]`
11801207

1181-
The path to the sqlfile you want to execute. This can be single file specified as string, or it can be an array of strings.
1208+
The path to the sqlfile you want to execute. This can be an array containing one or more file paths.
11821209

11831210
Default value: ``undef``
11841211

@@ -1208,7 +1235,7 @@ Default value: `300`
12081235

12091236
##### <a name="import_cat_cmd"></a>`import_cat_cmd`
12101237

1211-
Data type: `Any`
1238+
Data type: `Enum['cat', 'zcat', 'bzcat']`
12121239

12131240
Command to read the sqlfile for importing the database. Useful for compressed sqlfiles. For example, you can use 'zcat' for .gz files.
12141241

@@ -1556,7 +1583,7 @@ Hash a string as mysql's "PASSWORD()" function would do it
15561583

15571584
#### `mysql::password(Variant[String, Sensitive[String]] $password, Optional[Boolean] $sensitive)`
15581585

1559-
The mysql::password function.
1586+
Hash a string as mysql's "PASSWORD()" function would do it
15601587

15611588
Returns: `Variant[String, Sensitive[String]]` hash
15621589
The mysql password hash from the clear text password.

metadata.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "puppetlabs-mysql",
3-
"version": "12.0.3",
3+
"version": "13.0.0",
44
"author": "puppetlabs",
55
"summary": "Installs, configures, and manages the MySQL service.",
66
"license": "Apache-2.0",

0 commit comments

Comments
 (0)