Commit graph

526 commits

Author SHA1 Message Date
Mason Malone
b86de6b88e Comment mysql::server::providers and update README.md
I added a "$" to the parameter examples because the Github syntax highlighting
looks off without it.
2013-11-11 09:57:31 -05:00
Mason Malone
d66efd82a2 Better hiera integration
This adds hash parameters to mysql::server to allow specifying grants, users, and databases to
create automatically, which works nicely with Hiera's automatic parameter lookup functionality
2013-11-10 22:25:55 -05:00
Ashley Penney
911dbe5c1a Merge pull request #362 from apenney/fix/user
Fix owner -> user typo.
2013-11-06 08:37:28 -08:00
Ashley Penney
52b8714081 Fix owner -> user typo. 2013-11-06 11:36:55 -05:00
Ashley Penney
621774ae6b Merge pull request #355 from tekenny/master
added * for table name in title to match documented usage
2013-11-05 12:36:51 -08:00
Igor Galić
333be5fd76 ensure /root/.my.cnf is 0600 and root owned
explicitly set /root/.my.cnf's owner and mode to ensure it will be
created with as root owned and 0600. This change fixes #357
2013-11-05 19:56:27 +01:00
Ashley Penney
a3bc25935b Merge pull request #358 from apenney/fix/anchor
Fix the broken anchoring.
2013-11-05 09:11:00 -08:00
Ashley Penney
a4d329f846 Fix the broken anchoring. 2013-11-05 16:41:41 +01:00
Thomas Kenny
88e033fe88 added * for table name in title to match documented usage 2013-11-04 20:49:24 -05:00
Ashley Penney
ae32cdf862 Merge pull request #343 from Bit-Doctor/patch-1
Add Anchor pattern to client.pp
2013-11-04 08:57:39 -08:00
Ashley Penney
56c2639e71 Merge pull request #349 from Element84/SpecDeprecationWarning
Deprecation warning when running rake:spec
2013-11-04 08:56:29 -08:00
Ashley Penney
bb9266452e Merge pull request #350 from Element84/IgnoreCoverageDir
Running rake spec creates a coverage directory that should be ignored.
2013-11-04 08:55:53 -08:00
Marc Huffnagle
7ea41249e2 Fix raise_error deprecation warning 2013-10-31 12:42:42 -04:00
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
Jonathan Machado
62ef6564d7 Update the Anchor pattern workaround
Add a step to the anchor pattern and add comment to clarify the need of this workaround.
Ref : http://docs.puppetlabs.com/puppet/2.7/reference/lang_containment.html#known-issues
2013-10-31 13:16:32 +09: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
Jonathan Machado
e7c26a1c57 Add Anchor pattern to client.pp
The class mysql::client::install is "contained" in the mysql::client to avoid floating.
2013-10-29 19:24:04 +09: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