Commit graph

511 commits

Author SHA1 Message Date
Marc Huffnagle
8ebcebbfd5 Ignore the coverage directory 2013-10-31 12:36:56 -04:00
Ashley Penney
52aa8ebd7e Merge pull request #346 from terrimonster/bindings-test
add bindings test
2013-10-31 05:26:02 -07:00
Terri Haber
4f154e4987 add bindings test 2013-10-30 16:23:33 -07:00
Igor Galić
1afa6571fb database_user gives the wrong deprecation warning
This appears to have been a bad copy/paste error.
Reported by @vicinus, this should fix #344
2013-10-30 23:18:00 +01:00
Ashley Penney
d6e7d5200e Merge pull request #342 from apenney/fix/privileges
Fix an issue with lowercase privileges.
2013-10-28 16:26:47 -07:00
Ashley Penney
047bff19ad Force mime-types to < 2.0 as this no longer works on Ruby 1.8. 2013-10-28 18:02:08 -04:00
Ashley Penney
d271ab5f76 Fix an issue with lowercase privileges.
This fixes the case where a user passes in lowercase privileges and
we incorrectly assume this means a change and reapply them.
2013-10-28 12:44:48 -04:00
Ashley Penney
cec288d47b Merge pull request #341 from spuder/patch-1
Adds example to set root password
2013-10-28 05:28:54 -07:00
Spencer
b0eb752d88 Adds example to set root password
The documentation in README.md states that it is possible to set the root password, but it does not give an example. 

This pull request adds an example of how to set the root password
2013-10-27 13:10:12 -06:00
Ashley Penney
6ec7872b44 Merge pull request #333 from apenney/201-release
Prepare 2.0.1 release.
2013-10-21 11:11:55 -07:00
Ashley Penney
13628a95a2 Prepare 2.0.1 release. 2013-10-21 14:10:55 -04:00
Ashley Penney
1b8ccb7ccf Merge pull request #332 from apenney/ordering
Fix ordering causing mysql_grant to reapply.
2013-10-21 11:08:02 -07:00
Ashley Penney
c6647c46b3 Fix ordering causing mysql_grant to reapply.
Because arrays are ordered lists, Puppet compares the list of retrieved
privileges against the defined privilege list.  This causes it to
reapply privilege if the ordering differs.  We now forcibly order in
the type and the provider to make sure we never falsely reapply
privileges.
2013-10-20 12:40:18 -04:00
Ashley Penney
4688db8cec Merge pull request #328 from glarizza/bug/update_server_tests
Update mysql::server test
2013-10-17 09:52:21 -07:00
Gary Larizza
9c192dd678 Update mysql::server test
With the update to the new version of mysql, the test for the
mysql::server class is incorrect.  This quick commit updates
the test according to the new syntax.
2013-10-17 09:38:27 -07:00
Ashley Penney
4136ff13b0 Merge pull request #326 from apenney/nigel-fix
Fix description for PE3.1
2013-10-16 09:11:43 -07:00
Ashley Penney
91b068cad4 Fix description for PE3.1
In PE3.1 it parses the comment #Deprecated at the top of the parameters
as if it's the class description.  Move this so PE3.1 doesn't falsely
claim mysql::server is now deprecated.
2013-10-16 11:42:35 -04:00
Ashley Penney
0d3ae5046d Merge pull request #325 from apenney/200-final-release
Prepare 2.0.0 release.
2013-10-14 16:19:06 -07:00
Ashley Penney
8b61387e82 Prepare 2.0.0 release. 2013-10-14 16:19:15 -07:00
Ashley Penney
d38e0aa39f Merge pull request #320 from apenney/200-rc5-release
Prepare rc5.
2013-10-11 11:36:16 -07:00
Ashley Penney
ca29363e95 Prepare rc5. 2013-10-11 11:39:38 -07:00
Ashley Penney
264afeeea0 Merge pull request #319 from apenney/fix-grant
Further improvements to our matching - stop trying to guess what
2013-10-11 11:34:02 -07:00
Ashley Penney
1dae474146 Add a moere complex test case for mysql_grant. 2013-10-10 15:07:47 -07:00
Ashley Penney
09f42c8bb3 Further improvements to our matching - stop trying to guess what
might be the username or hostname and just match the entire thing
no matter what it may be.
2013-10-10 13:48:24 -07:00
Ashley Penney
94c24a4e68 Merge pull request #318 from apenney/200-rc4-release
Prepare -rc4 release.
2013-10-09 14:20:05 -07:00
Ashley Penney
dfc85a8bec Prepare -rc4 release. 2013-10-09 13:35:03 -07:00
Ashley Penney
f03da2c8e6 Merge pull request #316 from tekenny/master
Updated my.cnf template to support items with no values
2013-10-09 12:24:07 -07:00
Ashley Penney
757d5ec204 Merge pull request #312 from apenney/fix-no-user
Previously we were matching to ensure that usernames matched
2013-10-09 12:10:46 -07:00
Ashley Penney
2f13dbc103 Merge pull request #317 from StephenBrown2/patch-1
README.md mysql::client parameters update and format tweaks
2013-10-09 10:47:11 -07:00
Stephen Brown II
f58eb0a67e README.md update and format tweaks
The section for mysql::client didn't specify that package_name and package_enable were available parameters.

Also took the liberty of making the override_options sections identical between ###Overrides and ###Parameters->mysql::server->override_options, as well as marking various other items as `code`, for a prettier display.
2013-10-09 13:37:38 -04:00
Thomas Kenny
52083e6c6a Updated my.cnf template to support items with no values 2013-10-09 07:42:16 -07:00
Ashley Penney
ce266fa893 Add in the @host users. 2013-10-08 10:18:14 -07:00
Ashley Penney
93aab36804 Previously we were matching to ensure that usernames matched
user@host but MySQL allows you to use @host with a blank user.

No longer .select but allow all and remove these successfully.
2013-10-08 10:12:46 -07:00
Ashley Penney
1d9eaa62e9 Merge pull request #308 from apenney/fix-grants
Improve mysql_grant to work with IPv6.
2013-10-08 09:21:32 -07:00
Ashley Penney
ab5d5be410 Merge pull request #309 from apenney/metadata
FM-103: Add metadata.json to all modules.
2013-10-07 12:08:26 -07:00
Ashley Penney
d5e57d0dc3 FM-103: Add metadata.json to all modules. 2013-10-07 12:07:34 -07:00
Ashley Penney
cc51d7ad7d Improve mysql_grant to work with IPv6.
This work attempts to improve the situation for matching IPv6
IP addresses, as the previous regex couldn't handle them properly.
2013-10-07 11:57:02 -07:00
Ashley Penney
b023e00faa Merge pull request #307 from apenney/200-rc3-release
Release rc3.
2013-10-07 07:12:37 -07:00
Ashley Penney
e2c41e4597 Release rc3. 2013-10-07 10:06:49 -04:00
Ashley Penney
e19833deb3 Merge pull request #306 from apenney/fix-monitor
Port of a6101dc (mysql::server::monitor fix) to 2.x.
2013-10-07 07:02:36 -07:00
Ashley Penney
5d17f10f93 Port of a6101dc (mysql::server::monitor fix) to 2.x. 2013-10-07 09:55:13 -04:00
Ashley Penney
8eaa915064 Merge pull request #302 from apenney/test-my-cnf
Extend coverage to the contents of /etc/my.cnf.
2013-10-04 11:48:34 -07:00
Ashley Penney
1d59505425 Extend coverage to the contents of /etc/my.cnf. 2013-10-04 14:47:31 -04:00
Ashley Penney
45d734b050 Merge pull request #301 from apenney/root_password_spec
Add testing for mysql::server::root_password.
2013-10-04 10:22:48 -07:00
Ashley Penney
4a48d639f2 Add testing for mysql::server::root_password. 2013-10-04 13:22:21 -04:00
Ashley Penney
d700ff07d7 Merge pull request #299 from apenney/200-rc2-release
Prepare a 2.0.0-rc2 release.
2013-10-03 16:14:02 -07:00
Ashley Penney
02ee0a2bc7 Prepare a 2.0.0-rc2 release. 2013-10-03 19:12:59 -04:00
Ashley Penney
7407325434 Merge pull request #298 from apenney/fix-duplicate
Duplicate parameter removed.
2013-10-03 16:11:19 -07:00
Ashley Penney
52a9f2e293 Duplicate parameter removed. 2013-10-03 19:10:35 -04:00
Ashley Penney
5b2116bc65 Merge pull request #297 from apenney/200-release
Prepare 2.0.0-rc1 release.
2013-10-03 16:02:15 -07:00