Skip to content

Commit 5e33c91

Browse files
authored
Merge pull request #887 from puppetlabs/release
Release 3.9.0 mergeback
2 parents 2b38c47 + 9053cd0 commit 5e33c91

File tree

3 files changed

+34
-40
lines changed

3 files changed

+34
-40
lines changed

CHANGELOG.md

+20
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
## Supported Release 3.9.0
2+
### Summary
3+
This release adds Percona 5.7 support and compatibility with Ubuntu 16.04, in addition to various bugfixes.
4+
5+
#### Features
6+
- (MODULES-3441) Adds the `mysqld_version` fact
7+
- (MODULES-3513) Adds a new backup dump parameter `maxallowedpacket`
8+
- Adds new parameter `xtrabackup_package_name` to `mysql::backup::xtrabackup` class
9+
- Adds ability to revoke GRANT privilege
10+
11+
#### Bugfixes
12+
- Fixes a bug where `mysql_user` fails if facter cannot retrieve fqdn.
13+
- Fix global parameter usage in backup script
14+
- Adds support for `puppet-staging` version `2.0.0`
15+
- (MODULES-3601) Moves binary logging configuration to take place after package install
16+
- (MODULES-3711) Add limit to mysql server ID generated value
17+
- (MODULES-3698) Fixes defaults for SLES12
18+
- Updates user name length restrictions for MySQL version 5.7.8 and above.
19+
- Fixes a bug where error log is not writable by owner
20+
121
## Supported Release 3.8.0
222
###Summary
323
This release adds Percona 5.7 support and compatibility with Ubuntu 16.04, in addition to various bugfixes.

README.md

+13-39
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,7 @@ mysql::db { 'mydb':
173173
### Install Percona server on CentOS
174174

175175
This example shows how to do a minimal installation of a Percona server on a
176-
CentOS system.
177-
This sets up the Percona server, client, and bindings (including Perl and Python bindings). You can customize this usage and update the version as needed.
176+
CentOS system. This sets up the Percona server, client, and bindings (including Perl and Python bindings). You can customize this usage and update the version as needed.
178177

179178
This usage has been tested on Puppet 4.4 / CentOS 7 / Percona Server 5.7.
180179

@@ -243,18 +242,11 @@ Class['mysql::bindings']
243242

244243
### Install MariaDB on Ubuntu
245244

246-
#### Preliminary step: Install the MariaDB official repo (optionnal)
245+
#### Optional: Install the MariaDB official repo
247246

248-
In this example, we want the latest stable (currently 10.1) from the official
249-
MariaDB repository, not the one from the distro repository.
250-
Note that this part is totally optionnal. You can also use the package from the
251-
Ubuntu repository.
247+
In this example, we'll use the latest stable (currently 10.1) from the official MariaDB repository, not the one from the distro repository. You could instead use the package from the Ubuntu repository. Make sure you use the repository corresponding to the version you want.
252248

253-
**Note:** `sfo1.mirrors.digitalocean.com` is just one of the many mirrors
254-
available. You can use any other official mirror for better performance.
255-
256-
**Important:** this example is using a MariaDB 10.1 repository. Make sure you
257-
are using the repository corresponding to the version you want.
249+
**Note:** `sfo1.mirrors.digitalocean.com` is one of many mirrors available. You can use any official mirror.
258250

259251
```
260252
include apt
@@ -274,25 +266,15 @@ apt::source { 'mariadb':
274266
}
275267
```
276268

277-
#### Installing the MariaDB server
278-
279-
This part of the example shows how to install a MariaDB server on Ubuntu (trusty
280-
here). You will probably want to tweak the version and the parameters of the
281-
my.cnf.
269+
#### Install the MariaDB server
282270

283-
As a reminder, all the parameters of the my.cnf can be defined using the
284-
`override_options` parmeter.
271+
This example shows MariaDB server installation on Ubuntu Trusty. Adjust the version and the parameters of `my.cnf` as needed. All parameters of the `my.cnf` can be defined using the `override_options` parameter.
285272

286-
Of course, you need to make sure that all the custom folders you are setting
287-
your files into do exist as prerequisites of this code! :)
288-
Note that `/var/log/mysql` and `/var/run/mysqld` are created automatically.
273+
The folders `/var/log/mysql` and `/var/run/mysqld` are created automatically, but if you are using other custom folders, they should exist as prerequisites for this code.
289274

290275
All the values set here are an example of a working minimal configuration.
291-
You can tweak them all! ;)
292276

293-
**Note:** it is not mandatory to specify the version of the package you want
294-
(using the `package_ensure` parameter) but it's always a good practice to do
295-
so as it avoids some surprises...
277+
Specify the version of the package you want with the `package_ensure` parameter.
296278

297279
```
298280
class {'::mysql::server':
@@ -319,16 +301,11 @@ Class['::mysql::server']
319301
320302
```
321303

322-
#### Installing the MariaDB client (can be done separately)
304+
#### Install the MariaDB client
323305

324-
This part of the example shows how to install the MariaDB client and
325-
use the `bindings_enable` to get all the bindings installed in 1 shot.
306+
This example shows how to install the MariaDB client and all of the bindings at once. You can do this installation separately from the server installation.
326307

327-
This part can be used totally individually from the server installation part.
328-
329-
**Note:** it is not mandatory to specify the version of the package you want
330-
(using the `package_ensure` parameter) but it's always a good practice to do
331-
so as it avoids some surprises...
308+
Specify the version of the package you want with the `package_ensure` parameter.
332309

333310
```
334311
class {'::mysql::client':
@@ -344,7 +321,6 @@ Class['apt::update'] ->
344321
Class['::mysql::client']
345322
```
346323

347-
348324
## Reference
349325

350326
### Classes
@@ -616,7 +592,7 @@ Sets the server backup implementation. Valid values are:
616592

617593
##### `maxallowedpacket`
618594

619-
Define the maximum SQL statement size for the backup dump script. The default value is 1MB as this is the default Mysql Server value.
595+
Defines the maximum SQL statement size for the backup dump script. The default value is 1MB, as this is the default MySQL Server value.
620596

621597
#### mysql::server::monitor
622598

@@ -916,9 +892,7 @@ Maximum updates per hour for the user. Must be an integer value. A value of '0'
916892

917893
#### mysql_grant
918894

919-
`mysql_grant` creates grant permissions to access databases within
920-
MySQL. To create grant permissions to access databases with MySQL, use it you must create the title of the resource as shown below,
921-
following the pattern of `username@hostname/database.table`:
895+
`mysql_grant` creates grant permissions to access databases within MySQL. To create grant permissions to access databases with MySQL, use it you must create the title of the resource as shown below, following the pattern of `username@hostname/database.table`:
922896

923897
```
924898
mysql_grant { 'root@localhost/*.*':

metadata.json

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

0 commit comments

Comments
 (0)