author | Chloe Laisne <chloe.laisne@gmail.com> |
Mon, 04 Jul 2016 23:43:38 +0200 | |
changeset 225 | 5e3cd85cde06 |
parent 146 | dc4d1cdc47e0 |
permissions | -rw-r--r-- |
146
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
1 |
## Supported Release 3.7.0 |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
2 |
###Summary |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
3 |
|
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
4 |
A large release with several new features. Also includes a considerable amount of bugfixes, many around compatibility and improvements to current functionality. |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
5 |
|
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
6 |
#### Features |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
7 |
|
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
8 |
- Now uses mariadb in OpenSuSE >= 13.1. |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
9 |
- Switch to rspec-puppet-facts. |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
10 |
- Additional function to check if table exists before grant. |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
11 |
- Add ability to input password hash directly. |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
12 |
- Now checking major release instead of specific release. |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
13 |
- Debian 8 support. |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
14 |
|
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
15 |
#### Bugfixes |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
16 |
|
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
17 |
- Minor doc update. |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
18 |
- Fixes improper use of function `warn` in backup manifest of server. |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
19 |
- Fixes to Compatibility with PE 3.3. |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
20 |
- Fixes `when not managing config file` in `mysql_server_spec`. |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
21 |
- Improved user validation and munging. |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
22 |
- Fixes fetching the mysql_user password for MySQL >=5.7.6. |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
23 |
- Fixes unique server_id within my.cnf, the issue were the entire mac address was not being read in to generate the id. |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
24 |
- Corrects the daemon_dev_package_name for mariadb on redhat. |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
25 |
- Fix version compare to properly suppress show_diff for root password. |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
26 |
- Fixes to ensure compatibility with future parser. |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
27 |
- Solaris removed from PE in metadata as its not supported. |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
28 |
- Use MYSQL_PWD to avoid mysqldump warnings. |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
29 |
- Use temp cnf file instead of env variable which creates acceptance test failures. |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
30 |
- No longer hash passwords that are already hashed. |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
31 |
- Fix Gemfile to work with ruby 1.8.7. |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
32 |
- Fixed MySQL 5.7.6++ compatibility. |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
33 |
- Fixing error when disabling service management and the service does not exist. |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
34 |
- Ubuntu vivid should use systemd not upstart. |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
35 |
- Fixed new mysql_datadir provider on CentOS for MySQl 5.7.6 compatibility. |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
36 |
- Ensure if service restart to wait till mysql is up. |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
37 |
- Move all dependencies to not have them in case of service unmanaged. |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
38 |
- Re-Added the ability to set a empty string as option parameter. |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
39 |
- Fixes edge-case with dropping pre-existing users with grants. |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
40 |
- Fix logic for choosing rspec version. |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
41 |
- Refactored main acceptance suite. |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
42 |
- Skip idempotency tests on test cells that do have PUP-5016 unfixed. |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
43 |
- Fix tmpdir to be shared across examples. |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
44 |
- Update to current msync configs [006831f]. |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
45 |
- Fix mysql_grant with MySQL ANSI_QUOTES mode. |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
46 |
- Generate .my.cnf for all sections. |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
47 |
|
28 | 48 |
## Supported Release 3.6.2 |
49 |
###Summary |
|
50 |
||
51 |
Small release for support of newer PE versions. This increments the version of PE in the metadata.json file. |
|
52 |
||
53 |
## 2015-09-22 - Supported Release 3.6.1 |
|
54 |
### Summary |
|
55 |
This is a security and bugfix release that fixes incorrect username truncation in the munge for the mysql_user type, incorrect function used in `mysql::server::backup` and fixes compatibility issues with PE 3.3.x. |
|
56 |
||
57 |
#### Bugfixes |
|
58 |
- Loosen the regex in mysql_user munging so the username is not unintentionally truncated. |
|
59 |
- Use `warning()` not `warn()` |
|
60 |
- Metadata had inadvertantly dropped 3.3.x support |
|
61 |
- Some 3.3.x compatibility issues in `mysqltuner` were corrected |
|
62 |
||
63 |
## 2015-08-10 - Supported Release 3.6.0 |
|
64 |
### Summary |
|
65 |
This release adds the ability to use mysql::db and `mysql_*` types against unmanaged or external mysql instances. |
|
66 |
||
67 |
#### Features |
|
68 |
- Add ability to use mysql::db WITHOUT mysql::server (ie, externally) |
|
69 |
- Add prescript attribute to mysql::server::backup for xtrabackup |
|
70 |
- Add postscript ability to xtrabackup provider. |
|
71 |
||
72 |
#### Bugfixes |
|
73 |
- Fix default root passwords blocking puppet on mysql 5.8 |
|
74 |
- Fix service dependency when package_manage is false |
|
75 |
- Fix selinux permissions on my.cnf |
|
76 |
||
77 |
##2015-07-23 - Supported Release 3.5.0 |
|
78 |
###Summary |
|
79 |
A small release to add explicit support to newer Puppet versions and accumulated patches. |
|
80 |
||
81 |
####Features/Improvements |
|
82 |
- Start running tests against puppet 4 |
|
83 |
- Support longer usernames on newer MariaDB versions |
|
84 |
- Add parameters for Solaris 11 and 12 |
|
85 |
||
86 |
####Bugfixes |
|
87 |
- Fix references to the mysql-server package |
|
88 |
- mysql_server_id doesn't throw and error on machines without macaddress |
|
89 |
||
90 |
##2015-05-19 - Supported Release 3.4.0 |
|
91 |
###Summary |
|
92 |
This release includes the addition of extra facts, OpenBSD compatibility, and a number of other features, improvements and bug fixes. |
|
93 |
||
94 |
####Features/Improvements |
|
95 |
- Added server_id fact which includes mac address for better uniqueness |
|
96 |
- Added OpenBSD compatibility, only for 'OpenBSD -current' (due to the recent switch to mariadb) |
|
97 |
- Added a $mysql_group parameter, and use that instead of the $root_group parameter to define the group membership of the mysql error log file. |
|
98 |
- Updated tests for rspec-puppet 2 and future parser |
|
99 |
- Further acceptance testing improvements |
|
100 |
- MODULES-1928 - allow log-error to be undef |
|
101 |
- Split package installation and database install |
|
102 |
- README wording improvements |
|
103 |
- Added options for including/excluding triggers and routines |
|
104 |
- Made the 'TRIGGER' privilege of mysqldump backups depend on whether or not we are actually backing up triggers |
|
105 |
- Cleaned up the privilege assignment in the mysqldump backup script |
|
106 |
- Add a fact for capturing the mysql version installed |
|
107 |
||
108 |
####Bugfixes |
|
109 |
- mysql backup: fix regression in mysql_user call |
|
110 |
- Set service_ensure to undef, in the case of an unmanaged service |
|
111 |
- README Typos fixed |
|
112 |
- Bugfix on Xtrabackup crons |
|
113 |
- Fixed a permission problem that was preventing triggers from being backed up |
|
114 |
- MODULES-1981: Revoke and grant difference of old and new privileges |
|
115 |
- Fix an issue were we assume triggers work |
|
116 |
- Change default for mysql::server::backup to ignore_triggers = false |
|
117 |
||
118 |
####Deprecations |
|
119 |
mysql::server::old_root_password property |
|
120 |
||
121 |
##2015-03-03 - Supported Release 3.3.0 |
|
122 |
###Summary |
|
123 |
This release includes major README updates, the addition of backup providers, and a fix for managing the log-bin directory. |
|
124 |
||
125 |
####Features |
|
126 |
- Add package_manage parameters to `mysql::server` and `mysql::client` (MODULES-1143) |
|
127 |
- README improvements |
|
128 |
- Add `mysqldump`, `mysqlbackup`, and `xtrabackup` backup providers. |
|
129 |
||
130 |
####Bugfixes |
|
131 |
- log-error overrides were not being properly used (MODULES-1804) |
|
132 |
- check for full path for log-bin to stop puppet from managing file '.' |
|
133 |
||
134 |
##2015-02-09 - Supported Release 3.2.0 |
|
135 |
###Summary |
|
136 |
This release includes several new features and bugfixes, including support for various plugins, making the output from mysql_password more consistent when input is empty and improved username validation. |
|
137 |
||
138 |
####Features |
|
139 |
- Add type and provider to manage plugins |
|
140 |
- Add support for authentication plugins |
|
141 |
- Add support for mysql_install_db on freebsd |
|
142 |
- Add `create_root_user` and `create_root_my_cnf` parameters to `mysql::server` |
|
143 |
||
144 |
####Bugfixes |
|
145 |
- Remove dependency on stdlib >= 4.1.0 (MODULES-1759) |
|
146 |
- Make grant autorequire user |
|
147 |
- Remove invalid parameter 'provider' from mysql_user instance (MODULES-1731) |
|
148 |
- Return empty string for empty input in mysql_password |
|
149 |
- Fix `mysql::account_security` when fqdn==localhost |
|
150 |
- Update username validation (MODULES-1520) |
|
151 |
- Future parser fix in params.pp |
|
152 |
- Fix package name for debian 8 |
|
153 |
- Don't start the service until the server package is installed and the config file is in place |
|
154 |
- Test fixes |
|
155 |
- Lint fixes |
|
156 |
||
157 |
##2014-12-16 - Supported Release 3.1.0 |
|
158 |
###Summary |
|
159 |
||
160 |
This release includes several new features, including SLES12 support, and a number of bug fixes. |
|
161 |
||
162 |
####Notes |
|
163 |
||
164 |
`mysql::server::mysqltuner` has been refactored to fetch the mysqltuner script from github by default. If you are running on a non-network-connected system, you will need to download that file and have it available to your node at a path specified by the `source` parameter to the `mysqltuner` class. |
|
165 |
||
166 |
####Features |
|
167 |
- Add support for install_options for all package resources (MODULES-1484) |
|
168 |
- Add log-bin directory creation |
|
169 |
- Allow mysql::db to import multiple files (MODULES-1338) |
|
170 |
- SLES12 support |
|
171 |
- Improved identifier quoting detections |
|
172 |
- Reworked `mysql::server::mysqltuner` so that we are no longer packaging the script as it is licensed under the GPL. |
|
173 |
||
174 |
####Bugfixes |
|
175 |
- Fix regression in username validation |
|
176 |
- Proper containment for mysql::client in mysql::db |
|
177 |
- Support quoted usernames of length 15 and 16 chars |
|
178 |
||
179 |
##2014-11-11 - Supported Release 3.0.0 |
|
180 |
###Summary |
|
181 |
||
182 |
Added several new features including MariaDB support and future parser |
|
183 |
||
184 |
####Backwards-incompatible Changes |
|
185 |
* Remove the deprecated `database`, `database_user`, and `database_grant` resources. The correct resources to use are `mysql`, `mysql_user`, and `mysql_grant` respectively. |
|
186 |
||
187 |
####Features |
|
188 |
* Add MariaDB Support |
|
189 |
* The mysqltuner perl script has been updated to 1.3.0 based on work at http://github.com/major/MySQLTuner-perl |
|
190 |
* Add future parse support, fixed issues with undef to empty string |
|
191 |
* Pass the backup credentials to 'SHOW DATABASES' |
|
192 |
* Ability to specify the Includedir for `mysql::server` |
|
193 |
* `mysql::db` now has an import\_timeout feature that defaults to 300 |
|
194 |
* The `mysql` class has been removed |
|
195 |
* `mysql::server` now takes an `override_options` hash that will affect the installation |
|
196 |
* Ability to install both dev and client dev |
|
197 |
||
198 |
####BugFix |
|
199 |
* `mysql::server::backup` now passes `ensure` param to the nested `mysql_grant` |
|
200 |
* `mysql::server::service` now properly requires the presence of the `log_error` file |
|
201 |
* `mysql::config` now occurs before `mysql::server::install_db` correctly |
|
202 |
||
203 |
##2014-07-15 - Supported Release 2.3.1 |
|
204 |
###Summary |
|
205 |
||
206 |
This release merely updates metadata.json so the module can be uninstalled and |
|
207 |
upgraded via the puppet module command. |
|
208 |
||
209 |
##2014-05-14 - Supported Release 2.3.0 |
|
210 |
||
211 |
This release primarily adds support for RHEL7 and Ubuntu 14.04 but it |
|
212 |
also adds a couple of new parameters to allow for further customization, |
|
213 |
as well as ensuring backups can backup stored procedures properly. |
|
214 |
||
215 |
####Features |
|
216 |
Added `execpath` to allow a custom executable path for non-standard mysql installations. |
|
217 |
Added `dbname` to mysql::db and use ensure_resource to create the resource. |
|
218 |
Added support for RHEL7 and Fedora Rawhide. |
|
219 |
Added support for Ubuntu 14.04. |
|
220 |
Create a warning for if you disable SSL. |
|
221 |
Ensure the error logfile is owned by MySQL. |
|
222 |
Disable ssl on FreeBSD. |
|
223 |
Add PROCESS privilege for backups. |
|
224 |
||
225 |
####Bugfixes |
|
226 |
||
227 |
####Known Bugs |
|
228 |
* No known bugs |
|
229 |
||
230 |
##2014-03-04 - Supported Release 2.2.3 |
|
231 |
###Summary |
|
232 |
||
233 |
This is a supported release. This release removes a testing symlink that can |
|
234 |
cause trouble on systems where /var is on a seperate filesystem from the |
|
235 |
modulepath. |
|
236 |
||
237 |
####Features |
|
238 |
####Bugfixes |
|
239 |
####Known Bugs |
|
240 |
* No known bugs |
|
241 |
||
242 |
##2014-03-04 - Supported Release 2.2.2 |
|
243 |
###Summary |
|
244 |
This is a supported release. Mostly comprised of enhanced testing, plus a |
|
245 |
bugfix for Suse. |
|
246 |
||
247 |
####Bugfixes |
|
248 |
- PHP bindings on Suse |
|
249 |
- Test fixes |
|
250 |
||
251 |
####Known Bugs |
|
252 |
* No known bugs |
|
253 |
||
254 |
##2014-02-19 - Version 2.2.1 |
|
255 |
||
256 |
###Summary |
|
257 |
||
258 |
Minor release that repairs mysql_database{} so that it sees the correct |
|
259 |
collation settings (it was only checking the global mysql ones, not the |
|
260 |
actual database and constantly setting it over and over since January 22nd). |
|
261 |
||
262 |
Also fixes a bunch of tests on various platforms. |
|
263 |
||
264 |
||
265 |
##2014-02-13 - Version 2.2.0 |
|
266 |
||
267 |
###Summary |
|
268 |
||
269 |
####Features |
|
270 |
- Add `backupdirmode`, `backupdirowner`, `backupdirgroup` to |
|
271 |
mysql::server::backup to allow customizing the mysqlbackupdir. |
|
272 |
- Support multiple options of the same name, allowing you to |
|
273 |
do 'replicate-do-db' => ['base1', 'base2', 'base3'] in order to get three |
|
274 |
lines of replicate-do-db = base1, replicate-do-db = base2 etc. |
|
275 |
||
276 |
####Bugfixes |
|
277 |
- Fix `restart` so it actually stops mysql restarting if set to false. |
|
278 |
- DRY out the defaults_file functionality in the providers. |
|
279 |
- mysql_grant fixed to work with root@localhost/@. |
|
280 |
- mysql_grant fixed for WITH MAX_QUERIES_PER_HOUR |
|
281 |
- mysql_grant fixed so revoking all privileges accounts for GRANT OPTION |
|
282 |
- mysql_grant fixed to remove duplicate privileges. |
|
283 |
- mysql_grant fixed to handle PROCEDURES when removing privileges. |
|
284 |
- mysql_database won't try to create existing databases, breaking replication. |
|
285 |
- bind_address renamed bind-address in 'mysqld' options. |
|
286 |
- key_buffer renamed to key_buffer_size. |
|
287 |
- log_error renamed to log-error. |
|
288 |
- pid_file renamed to pid-file. |
|
289 |
- Ensure mysql::server:root_password runs before mysql::server::backup |
|
290 |
- Fix options_override -> override_options in the README. |
|
291 |
- Extensively rewrite the README to be accurate and awesome. |
|
292 |
- Move to requiring stdlib 3.2.0, shipped in PE3.0 |
|
293 |
- Add many new tests. |
|
294 |
||
295 |
||
296 |
##2013-11-13 - Version 2.1.0 |
|
297 |
||
298 |
###Summary |
|
299 |
||
300 |
The most important changes in 2.1.0 are improvements to the my.cnf creation, |
|
301 |
as well as providers. Setting options to = true strips them to be just the |
|
302 |
key name itself, which is required for some options. |
|
303 |
||
304 |
The provider updates fix a number of bugs, from lowercase privileges to |
|
305 |
deprecation warnings. |
|
306 |
||
307 |
Last, the new hiera integration functionality should make it easier to |
|
308 |
externalize all your grants, users, and, databases. Another great set of |
|
309 |
community submissions helped to make this release. |
|
310 |
||
311 |
####Features |
|
312 |
- Some options can not take a argument. Gets rid of the '= true' when an |
|
313 |
option is set to true. |
|
314 |
- Easier hiera integration: Add hash parameters to mysql::server to allow |
|
315 |
specifying grants, users, and databases. |
|
316 |
||
317 |
####Bugfixes |
|
318 |
- Fix an issue with lowercase privileges in mysql_grant{} causing them to be reapplied needlessly. |
|
319 |
- Changed defaults-file to defaults-extra-file in providers. |
|
320 |
- Ensure /root/.my.cnf is 0600 and root owned. |
|
321 |
- database_user deprecation warning was incorrect. |
|
322 |
- Add anchor pattern for client.pp |
|
323 |
- Documentation improvements. |
|
324 |
- Various test fixes. |
|
325 |
||
326 |
||
327 |
##2013-10-21 - Version 2.0.1 |
|
328 |
||
329 |
###Summary |
|
330 |
||
331 |
This is a bugfix release to handle an issue where unsorted mysql_grant{} |
|
332 |
privileges could cause Puppet to incorrectly reapply the permissions on |
|
333 |
each run. |
|
334 |
||
335 |
####Bugfixes |
|
336 |
- Mysql_grant now sorts privileges in the type and provider for comparison. |
|
337 |
- Comment and test tweak for PE3.1. |
|
338 |
||
339 |
||
340 |
##2013-10-14 - Version 2.0.0 |
|
341 |
||
342 |
###Summary |
|
343 |
||
344 |
(Previously detailed in the changelog for 2.0.0-rc1) |
|
345 |
||
346 |
This module has been completely refactored and works significantly different. |
|
347 |
The changes are broad and touch almost every piece of the module. |
|
348 |
||
349 |
See the README.md for full details of all changes and syntax. |
|
350 |
Please remain on 1.0.0 if you don't have time to fully test this in dev. |
|
351 |
||
352 |
* mysql::server, mysql::client, and mysql::bindings are the primary interface |
|
353 |
classes. |
|
354 |
* mysql::server takes an `override_options` parameter to set my.cnf options, |
|
355 |
with the hash format: { 'section' => { 'thing' => 'value' }} |
|
356 |
* mysql attempts backwards compatibility by forwarding all parameters to |
|
357 |
mysql::server. |
|
358 |
||
359 |
||
360 |
##2013-10-09 - Version 2.0.0-rc5 |
|
361 |
||
362 |
###Summary |
|
363 |
||
364 |
Hopefully the final rc! Further fixes to mysql_grant (stripping out the |
|
365 |
cleverness so we match a much wider range of input.) |
|
366 |
||
367 |
####Bugfixes |
|
368 |
- Make mysql_grant accept '.*'@'.*' in terms of input for user@host. |
|
369 |
||
370 |
||
371 |
##2013-10-09 - Version 2.0.0-rc4 |
|
372 |
||
373 |
###Summary |
|
374 |
||
375 |
Bugfixes to mysql_grant and mysql_user form the bulk of this rc, as well as |
|
376 |
ensuring that values in the override_options hash that contain a value of '' |
|
377 |
are created as just "key" in the conf rather than "key =" or "key = false". |
|
378 |
||
379 |
####Bugfixes |
|
380 |
- Improve mysql_grant to work with IPv6 addresses (both long and short). |
|
381 |
- Ensure @host users work as well as user@host users. |
|
382 |
- Updated my.cnf template to support items with no values. |
|
383 |
||
384 |
||
385 |
##2013-10-07 - Version 2.0.0-rc3 |
|
386 |
||
387 |
###Summary |
|
388 |
Fix mysql::server::monitor's use of mysql_user{}. |
|
389 |
||
390 |
####Bugfixes |
|
391 |
- Fix myql::server::monitor's use of mysql_user{} to grant the proper |
|
392 |
permissions. Add specs as well. (Thanks to treydock!) |
|
393 |
||
394 |
||
395 |
##2013-10-03 - Version 2.0.0-rc2 |
|
396 |
||
397 |
###Summary |
|
398 |
Bugfixes |
|
399 |
||
400 |
####Bugfixes |
|
401 |
- Fix a duplicate parameter in mysql::server |
|
402 |
||
403 |
||
404 |
##2013-10-03 - Version 2.0.0-rc1 |
|
405 |
||
406 |
###Summary |
|
407 |
||
408 |
This module has been completely refactored and works significantly different. |
|
409 |
The changes are broad and touch almost every piece of the module. |
|
410 |
||
411 |
See the README.md for full details of all changes and syntax. |
|
412 |
Please remain on 1.0.0 if you don't have time to fully test this in dev. |
|
413 |
||
414 |
* mysql::server, mysql::client, and mysql::bindings are the primary interface |
|
415 |
classes. |
|
416 |
* mysql::server takes an `override_options` parameter to set my.cnf options, |
|
417 |
with the hash format: { 'section' => { 'thing' => 'value' }} |
|
418 |
* mysql attempts backwards compatibility by forwarding all parameters to |
|
419 |
mysql::server. |
|
420 |
||
421 |
--- |
|
422 |
##2013-09-23 - Version 1.0.0 |
|
423 |
||
424 |
###Summary |
|
425 |
||
426 |
This release introduces a number of new type/providers, to eventually |
|
427 |
replace the database_ ones. The module has been converted to call the |
|
428 |
new providers rather than the previous ones as they have a number of |
|
429 |
fixes, additional options, and work with puppet resource. |
|
430 |
||
431 |
This 1.0.0 release precedes a large refactoring that will be released |
|
432 |
almost immediately after as 2.0.0. |
|
433 |
||
434 |
####Features |
|
435 |
- Added mysql_grant, mysql_database, and mysql_user. |
|
436 |
- Add `mysql::bindings` class and refactor all other bindings to be contained underneath mysql::bindings:: namespace. |
|
437 |
- Added support to back up specified databases only with 'mysqlbackup' parameter. |
|
438 |
- Add option to mysql::backup to set the backup script to perform a mysqldump on each database to its own file |
|
439 |
||
440 |
####Bugfixes |
|
441 |
- Update my.cnf.pass.erb to allow custom socket support |
|
442 |
- Add environment variable for .my.cnf in mysql::db. |
|
443 |
- Add HOME environment variable for .my.cnf to mysqladmin command when |
|
444 |
(re)setting root password |
|
445 |
||
446 |
--- |
|
447 |
##2013-07-15 - Version 0.9.0 |
|
448 |
####Features |
|
449 |
- Add `mysql::backup::backuprotate` parameter |
|
450 |
- Add `mysql::backup::delete_before_dump` parameter |
|
451 |
- Add `max_user_connections` attribute to `database_user` type |
|
452 |
||
453 |
####Bugfixes |
|
454 |
- Add client package dependency for `mysql::db` |
|
455 |
- Remove duplicate `expire_logs_days` and `max_binlog_size` settings |
|
456 |
- Make root's `.my.cnf` file path dynamic |
|
457 |
- Update pidfile path for Suse variants |
|
458 |
- Fixes for lint |
|
459 |
||
460 |
##2013-07-05 - Version 0.8.1 |
|
461 |
####Bugfixes |
|
462 |
- Fix a typo in the Fedora 19 support. |
|
463 |
||
464 |
##2013-07-01 - Version 0.8.0 |
|
465 |
####Features |
|
466 |
- mysql::perl class to install perl-DBD-mysql. |
|
467 |
- minor improvements to the providers to improve reliability |
|
468 |
- Install the MariaDB packages on Fedora 19 instead of MySQL. |
|
469 |
- Add new `mysql` class parameters: |
|
470 |
- `max_connections`: The maximum number of allowed connections. |
|
471 |
- `manage_config_file`: Opt out of puppetized control of my.cnf. |
|
472 |
- `ft_min_word_len`: Fine tune the full text search. |
|
473 |
- `ft_max_word_len`: Fine tune the full text search. |
|
474 |
- Add new `mysql` class performance tuning parameters: |
|
475 |
- `key_buffer` |
|
476 |
- `thread_stack` |
|
477 |
- `thread_cache_size` |
|
478 |
- `myisam-recover` |
|
479 |
- `query_cache_limit` |
|
480 |
- `query_cache_size` |
|
481 |
- `max_connections` |
|
482 |
- `tmp_table_size` |
|
483 |
- `table_open_cache` |
|
484 |
- `long_query_time` |
|
485 |
- Add new `mysql` class replication parameters: |
|
486 |
- `server_id` |
|
487 |
- `sql_log_bin` |
|
488 |
- `log_bin` |
|
489 |
- `max_binlog_size` |
|
490 |
- `binlog_do_db` |
|
491 |
- `expire_logs_days` |
|
492 |
- `log_bin_trust_function_creators` |
|
493 |
- `replicate_ignore_table` |
|
494 |
- `replicate_wild_do_table` |
|
495 |
- `replicate_wild_ignore_table` |
|
496 |
- `expire_logs_days` |
|
497 |
- `max_binlog_size` |
|
498 |
||
499 |
####Bugfixes |
|
500 |
- No longer restart MySQL when /root/.my.cnf changes. |
|
501 |
- Ensure mysql::config runs before any mysql::db defines. |
|
502 |
||
503 |
##2013-06-26 - Version 0.7.1 |
|
504 |
####Bugfixes |
|
505 |
- Single-quote password for special characters |
|
506 |
- Update travis testing for puppet 3.2.x and missing Bundler gems |
|
507 |
||
508 |
##2013-06-25 - Version 0.7.0 |
|
509 |
This is a maintenance release for community bugfixes and exposing |
|
510 |
configuration variables. |
|
511 |
||
512 |
* Add new `mysql` class parameters: |
|
513 |
- `basedir`: The base directory mysql uses |
|
514 |
- `bind_address`: The IP mysql binds to |
|
515 |
- `client_package_name`: The name of the mysql client package |
|
516 |
- `config_file`: The location of the server config file |
|
517 |
- `config_template`: The template to use to generate my.cnf |
|
518 |
- `datadir`: The directory MySQL's datafiles are stored |
|
519 |
- `default_engine`: The default engine to use for tables |
|
520 |
- `etc_root_password`: Whether or not to add the mysql root password to |
|
521 |
/etc/my.cnf |
|
522 |
- `java_package_name`: The name of the java package containing the java |
|
523 |
connector |
|
524 |
- `log_error`: Where to log errors |
|
525 |
- `manage_service`: Boolean dictating if mysql::server should manage the |
|
526 |
service |
|
527 |
- `max_allowed_packet`: Maximum network packet size mysqld will accept |
|
528 |
- `old_root_password`: Previous root user password |
|
529 |
- `php_package_name`: The name of the phpmysql package to install |
|
530 |
- `pidfile`: The location mysql will expect the pidfile to be |
|
531 |
- `port`: The port mysql listens on |
|
532 |
- `purge_conf_dir`: Value fed to recurse and purge parameters of the |
|
533 |
/etc/mysql/conf.d resource |
|
534 |
- `python_package_name`: The name of the python mysql package to install |
|
535 |
- `restart`: Whether to restart mysqld |
|
536 |
- `root_group`: Use specified group for root-owned files |
|
537 |
- `root_password`: The root MySQL password to use |
|
538 |
- `ruby_package_name`: The name of the ruby mysql package to install |
|
539 |
- `ruby_package_provider`: The installation suite to use when installing the |
|
540 |
ruby package |
|
541 |
- `server_package_name`: The name of the server package to install |
|
542 |
- `service_name`: The name of the service to start |
|
543 |
- `service_provider`: The name of the service provider |
|
544 |
- `socket`: The location of the MySQL server socket file |
|
545 |
- `ssl_ca`: The location of the SSL CA Cert |
|
546 |
- `ssl_cert`: The location of the SSL Certificate to use |
|
547 |
- `ssl_key`: The SSL key to use |
|
548 |
- `ssl`: Whether or not to enable ssl |
|
549 |
- `tmpdir`: The directory MySQL's tmpfiles are stored |
|
550 |
* Deprecate `mysql::package_name` parameter in favor of |
|
551 |
`mysql::client_package_name` |
|
552 |
* Fix local variable template deprecation |
|
553 |
* Fix dependency ordering in `mysql::db` |
|
554 |
* Fix ANSI quoting in queries |
|
555 |
* Fix travis support (but still messy) |
|
556 |
* Fix typos |
|
557 |
||
558 |
##2013-01-11 - Version 0.6.1 |
|
559 |
* Fix providers when /root/.my.cnf is absent |
|
560 |
||
561 |
##2013-01-09 - Version 0.6.0 |
|
562 |
* Add `mysql::server::config` define for specific config directives |
|
563 |
* Add `mysql::php` class for php support |
|
564 |
* Add `backupcompress` parameter to `mysql::backup` |
|
565 |
* Add `restart` parameter to `mysql::config` |
|
566 |
* Add `purge_conf_dir` parameter to `mysql::config` |
|
567 |
* Add `manage_service` parameter to `mysql::server` |
|
568 |
* Add syslog logging support via the `log_error` parameter |
|
569 |
* Add initial SuSE support |
|
570 |
* Fix remove non-localhost root user when fqdn != hostname |
|
571 |
* Fix dependency in `mysql::server::monitor` |
|
572 |
* Fix .my.cnf path for root user and root password |
|
573 |
* Fix ipv6 support for users |
|
574 |
* Fix / update various spec tests |
|
575 |
* Fix typos |
|
576 |
* Fix lint warnings |
|
577 |
||
578 |
##2012-08-23 - Version 0.5.0 |
|
579 |
* Add puppetlabs/stdlib as requirement |
|
580 |
* Add validation for mysql privs in provider |
|
581 |
* Add `pidfile` parameter to mysql::config |
|
582 |
* Add `ensure` parameter to mysql::db |
|
583 |
* Add Amazon linux support |
|
584 |
* Change `bind_address` parameter to be optional in my.cnf template |
|
585 |
* Fix quoting root passwords |
|
586 |
||
587 |
##2012-07-24 - Version 0.4.0 |
|
588 |
* Fix various bugs regarding database names |
|
589 |
* FreeBSD support |
|
590 |
* Allow specifying the storage engine |
|
591 |
* Add a backup class |
|
592 |
* Add a security class to purge default accounts |
|
593 |
||
594 |
##2012-05-03 - Version 0.3.0 |
|
595 |
* 14218 Query the database for available privileges |
|
596 |
* Add mysql::java class for java connector installation |
|
597 |
* Use correct error log location on different distros |
|
598 |
* Fix set_mysql_rootpw to properly depend on my.cnf |
|
599 |
||
600 |
##2012-04-11 - Version 0.2.0 |
|
601 |
||
602 |
##2012-03-19 - William Van Hevelingen <blkperl@cat.pdx.edu> |
|
603 |
* (#13203) Add ssl support (f7e0ea5) |
|
604 |
||
605 |
##2012-03-18 - Nan Liu <nan@puppetlabs.com> |
|
606 |
* Travis ci before script needs success exit code. (0ea463b) |
|
607 |
||
608 |
##2012-03-18 - Nan Liu <nan@puppetlabs.com> |
|
609 |
* Fix Puppet 2.6 compilation issues. (9ebbbc4) |
|
610 |
||
611 |
##2012-03-16 - Nan Liu <nan@puppetlabs.com> |
|
612 |
* Add travis.ci for testing multiple puppet versions. (33c72ef) |
|
613 |
||
614 |
##2012-03-15 - William Van Hevelingen <blkperl@cat.pdx.edu> |
|
615 |
* (#13163) Datadir should be configurable (f353fc6) |
|
616 |
||
617 |
##2012-03-16 - Nan Liu <nan@puppetlabs.com> |
|
618 |
* Document create_resources dependency. (558a59c) |
|
619 |
||
620 |
##2012-03-16 - Nan Liu <nan@puppetlabs.com> |
|
621 |
* Fix spec test issues related to error message. (eff79b5) |
|
622 |
||
623 |
##2012-03-16 - Nan Liu <nan@puppetlabs.com> |
|
624 |
* Fix mysql service on Ubuntu. (72da2c5) |
|
625 |
||
626 |
##2012-03-16 - Dan Bode <dan@puppetlabs.com> |
|
627 |
* Add more spec test coverage (55e399d) |
|
628 |
||
629 |
##2012-03-16 - Nan Liu <nan@puppetlabs.com> |
|
630 |
* (#11963) Fix spec test due to path changes. (1700349) |
|
631 |
||
632 |
##2012-03-07 - François Charlier <fcharlier@ploup.net> |
|
633 |
* Add a test to check path for 'mysqld-restart' (b14c7d1) |
|
634 |
||
635 |
##2012-03-07 - François Charlier <fcharlier@ploup.net> |
|
636 |
* Fix path for 'mysqld-restart' (1a9ae6b) |
|
637 |
||
638 |
##2012-03-15 - Dan Bode <dan@puppetlabs.com> |
|
639 |
* Add rspec-puppet tests for mysql::config (907331a) |
|
640 |
||
641 |
##2012-03-15 - Dan Bode <dan@puppetlabs.com> |
|
642 |
* Moved class dependency between sever and config to server (da62ad6) |
|
643 |
||
644 |
##2012-03-14 - Dan Bode <dan@puppetlabs.com> |
|
645 |
* Notify mysql restart from set_mysql_rootpw exec (0832a2c) |
|
646 |
||
647 |
##2012-03-15 - Nan Liu <nan@puppetlabs.com> |
|
648 |
* Add documentation related to osfamily fact. (8265d28) |
|
649 |
||
650 |
##2012-03-14 - Dan Bode <dan@puppetlabs.com> |
|
651 |
* Mention osfamily value in failure message (e472d3b) |
|
652 |
||
653 |
##2012-03-14 - Dan Bode <dan@puppetlabs.com> |
|
654 |
* Fix bug when querying for all database users (015490c) |
|
655 |
||
656 |
##2012-02-09 - Nan Liu <nan@puppetlabs.com> |
|
657 |
* Major refactor of mysql module. (b1f90fd) |
|
658 |
||
659 |
##2012-01-11 - Justin Ellison <justin.ellison@buckle.com> |
|
660 |
* Ruby and Python's MySQL libraries are named differently on different distros. (1e926b4) |
|
661 |
||
662 |
##2012-01-11 - Justin Ellison <justin.ellison@buckle.com> |
|
663 |
* Per @ghoneycutt, we should fail explicitly and explain why. (09af083) |
|
664 |
||
665 |
##2012-01-11 - Justin Ellison <justin.ellison@buckle.com> |
|
666 |
* Removing duplicate declaration (7513d03) |
|
667 |
||
668 |
##2012-01-10 - Justin Ellison <justin.ellison@buckle.com> |
|
669 |
* Use socket value from params class instead of hardcoding. (663e97c) |
|
670 |
||
671 |
##2012-01-10 - Justin Ellison <justin.ellison@buckle.com> |
|
672 |
* Instead of hardcoding the config file target, pull it from mysql::params (031a47d) |
|
673 |
||
674 |
##2012-01-10 - Justin Ellison <justin.ellison@buckle.com> |
|
675 |
* Moved $socket to within the case to toggle between distros. Added a $config_file variable to allow per-distro config file destinations. (360eacd) |
|
676 |
||
677 |
##2012-01-10 - Justin Ellison <justin.ellison@buckle.com> |
|
678 |
* Pretty sure this is a bug, 99% of Linux distros out there won't ever hit the default. (3462e6b) |
|
679 |
||
680 |
##2012-02-09 - William Van Hevelingen <blkperl@cat.pdx.edu> |
|
681 |
* Changed the README to use markdown (3b7dfeb) |
|
682 |
||
683 |
##2012-02-04 - Daniel Black <grooverdan@users.sourceforge.net> |
|
684 |
* (#12412) mysqltuner.pl update (b809e6f) |
|
685 |
||
686 |
##2011-11-17 - Matthias Pigulla <mp@webfactory.de> |
|
687 |
* (#11363) Add two missing privileges to grant: event_priv, trigger_priv (d15c9d1) |
|
688 |
||
689 |
##2011-12-20 - Jeff McCune <jeff@puppetlabs.com> |
|
690 |
* (minor) Fixup typos in Modulefile metadata (a0ed6a1) |
|
691 |
||
692 |
##2011-12-19 - Carl Caum <carl@carlcaum.com> |
|
693 |
* Only notify Exec to import sql if sql is given (0783c74) |
|
694 |
||
695 |
##2011-12-19 - Carl Caum <carl@carlcaum.com> |
|
696 |
* (#11508) Only load sql_scripts on DB creation (e3b9fd9) |
|
697 |
||
698 |
##2011-12-13 - Justin Ellison <justin.ellison@buckle.com> |
|
699 |
* Require not needed due to implicit dependencies (3058feb) |
|
700 |
||
701 |
##2011-12-13 - Justin Ellison <justin.ellison@buckle.com> |
|
702 |
* Bug #11375: puppetlabs-mysql fails on CentOS/RHEL (a557b8d) |
|
703 |
||
704 |
##2011-06-03 - Dan Bode <dan@puppetlabs.com> - 0.0.1 |
|
705 |
* initial commit |