Ashley Penney
4d31685932
Prepare 2.0.0-rc1 release.
2013-10-03 18:25:09 -04:00
Ashley Penney
059b66d008
Merge pull request #296 from apenney/fix/add-providers-to-params
...
Add all the params here as undef to make it clear what the intent is.
2013-10-03 14:36:49 -07:00
Ashley Penney
c0b35a2cf7
Add all the params here as undef to make it clear what the intent is.
2013-10-03 17:15:24 -04:00
Ashley Penney
f8af684fe0
Merge pull request #276 from apenney/mysql_grant_fixes
...
Improvements to mysql_grant.
2013-10-02 09:54:09 -07:00
Ashley Penney
ff3621e129
Merge pull request #293 from apenney/license
...
Fix license to mention Puppetlabs.
2013-09-30 10:09:16 -07:00
Ashley Penney
a9834b91ea
Fix license to mention Puppetlabs.
2013-09-30 13:08:41 -04:00
Ashley Penney
9b4e47815c
Merge pull request #292 from apenney/fix-param
...
Fix typoed parameter.
2013-09-30 10:07:35 -07:00
Ashley Penney
dec3e1f7f1
Fix typoed parameter.
2013-09-30 13:04:15 -04:00
Ashley Penney
9b7adbfa93
Merge pull request #291 from inkblot/fix_issue_290
...
Add collation with the create statement
2013-09-29 18:45:21 -07:00
Nate Riffe
602ec1354f
Adjust the test to the new reality
2013-09-29 18:44:49 -05:00
Nate Riffe
aef9fd0912
Add collation with the create statement
2013-09-29 09:39:06 -05:00
Ashley Penney
78ec15b306
Merge pull request #288 from apenney/passwd-fix
...
Use mysql::server::root_password instead of @options.
2013-09-27 07:38:34 -07:00
Ashley Penney
0e7e415029
Use mysql::server::root_password instead of @options.
2013-09-27 10:31:59 -04:00
Ashley Penney
f0cde6bfe1
Merge pull request #286 from apenney/travis
...
Add 3.3, strip down the excludes.
2013-09-26 06:57:36 -07:00
Ashley Penney
17597bf261
Merge pull request #282 from mediatemple/fix/master/merge_function
...
Fixes issue #274 by using recursive hash merge.
2013-09-26 06:57:16 -07:00
Ashley Penney
7564caaa3f
Add 3.3, strip down the excludes.
2013-09-26 09:54:32 -04:00
Ashley Penney
069fedc365
Merge pull request #285 from apenney/client
...
Fix mysql::client.
2013-09-26 06:33:05 -07:00
Ashley Penney
1719424b23
Fix mysql::client.
...
This was still relying on globals. Allow you to pass params into
mysql::client properly to set the package.
2013-09-26 09:30:44 -04:00
Justin Burnham
1b4a486bf9
Fixes issue #274 by using recursive hash merge.
2013-09-25 10:38:08 -07:00
Ashley Penney
e0c4434815
Merge pull request #280 from apenney/fix-php
...
Removing the bindings compat stuff.
2013-09-25 10:07:27 -07:00
Ashley Penney
b8261abbdf
Removing the bindings compat stuff.
2013-09-25 12:48:14 -04:00
Ashley Penney
c53390a30a
Merge pull request #278 from apenney/fix-globals
...
Remove mysql::globals.
2013-09-24 15:17:18 -07:00
Ashley Penney
46fe1ea512
Remove mysql::globals.
...
This turned out to be a fairly bad idea. It begun as a way to try
and mirror what happens in the postgresql module for consistency
but instead made things complex.
I've changed it to have the override_options in mysql::server which
leads much more naturally out of the design and shape of MySQL.
2013-09-24 18:04:29 -04:00
Ashley Penney
003d5b3c6a
Improvements to mysql_grant.
...
Ensure that table and user are required properties, as well as remove
the optional table handling in the provider and enforce it.
2013-09-24 15:37:11 -04:00
Ashley Penney
cab6e50d81
Merge pull request #273 from davidcollom/patch-1
...
Update mysqltuner.pp
2013-09-24 08:15:58 -07:00
David Collom
0614fba911
Update mysqltuner.pp
...
Enable present/absence.. in those cases when you only want mysqltuner installed for debugging
2013-09-24 14:43:11 +01:00
Ashley Penney
9d0f9010c6
Merge pull request #241 from red-trela/support-fedora-rawhide
...
Support Fedora's rolling development "release", Rawhide
2013-09-23 14:09:16 -07:00
Ashley Penney
a972e4d3a0
Merge pull request #258 from apenney/refactor
...
Completely redesign the MySQL module.
2013-09-23 14:05:08 -07:00
Ashley Penney
4e6b79288e
Merge pull request #270 from apenney/100-release
...
Prepare a 1.0.0 release.
2013-09-23 14:02:33 -07:00
Ashley Penney
e76e31b992
Prepare a 1.0.0 release.
2013-09-23 14:54:43 -04:00
Ashley Penney
7fa003063e
Merge pull request #263 from xcompass/fix-quote-username-host
...
Add quote to username and host in mysql_grant constructor
2013-09-23 11:47:47 -07:00
Pan
58b7dc2c87
Add quote to username and host in mysql_grant constructor
...
The quote is need for username and host in mysql grant. revoke and grant function is already doing it with cmd_user(). not sure why the constructor didn't do it. This patch fixed #261 and #262 .
2013-09-18 17:04:36 -07:00
Ashley Penney
2a46d9e366
Add two new sections for additional details.
...
Add a backwards compatibility section and a conf.d section.
2013-09-16 18:17:16 -04:00
Ashley Penney
ce893b5115
Fix spec tests on ruby 1.8.
2013-09-13 13:42:32 -04:00
Ashley Penney
803034e880
Rewrite spec tests to account for changes.
2013-09-13 13:14:48 -04:00
Ashley Penney
6bdb92d354
Rework the documentation to align with the new refactored module.
2013-09-13 13:14:48 -04:00
Ashley Penney
b81f64c8ab
Rework templates to rely on the new hash and become vastly less complex.
2013-09-13 13:14:48 -04:00
Ashley Penney
4d6962e868
Various adjustments to classes to align with refactored work.
...
Handful of changes here, such as removing flush (so that mysql_user
can be used for root password changes) and other tweaks here.
Add time option to mysql::backup.
2013-09-13 13:14:48 -04:00
Ashley Penney
3f9297e10e
Rework the mysql::bindings to be less complex.
...
This removes all the internal class parameters and shrinks these classes
to be more straightforward, relying on the values set in bindings.pp.
2013-09-13 13:14:39 -04:00
Ashley Penney
6a733e9503
Add a new function, mysql_strip_hash()
...
This is used in the backwards compatibility code in init.pp.
2013-09-13 13:10:21 -04:00
Ashley Penney
2c902b0f93
Add all the distribution specific params and other defaults not related
...
to the hash used in mysql::globals.
2013-09-13 13:09:48 -04:00
Ashley Penney
b930438d9a
Deprecate this class while attempting to provide backwards
...
compatibility.
2013-09-13 13:09:05 -04:00
Ashley Penney
e4d5671e7f
Add mysql::globals and refactor mysql::server.
...
This work adds a new mysql::globals class which contains a hash used to
build my.cnf from. It's used to share this data across multiple classes
so that the client and server can share this data.
End users can modify content in my.cnf by including mysql::globals and
passing in override_options as a hash that looks like:
override_options = { 'mysqld' => { 'max_connections' => '120' } }
This completely replaces the mess of parameters that existed in the main
mysql class before.
Completely refactor mysql::server and rework the API. This changes
ordering, changes from execs{} to mysql_user for the root password,
removes some functionality (like the etc_root_password), and generally
makes some tough decisions about how mysql::server should be built.
2013-09-13 13:04:42 -04:00
Ashley Penney
e3843ceb6f
Refactor to use mysql::globals.
...
This initial round of work focuses on adding the concept of
mysql::globals to the module. This is a shared place to provide all the
data the module needs, and then clients, servers, and providers can all
rely on this information to set things up.
This is being primarily used at first to allow a default_options hash
that contains all the previous parameters and takes a overrides_options
that allows you to then further customize any of the options in my.cnf.
2013-09-09 11:34:39 -04:00
Ashley Penney
52fb70ebde
Merge pull request #248 from apenney/providers2
...
WIP: database_user and database refactoring
2013-09-06 08:43:36 -07:00
Ashley Penney
2abccab4d9
Refactor and rename database_grant to mysql_grant.
...
This provider has undergone the largest set of changes and currently
just accepts a full SQL grant string as the name and then applies it,
making things easier for DBAs and removes the awkward attempts at
modelling grants into Puppet.
2013-09-03 17:24:21 -04:00
Ashley Penney
351c722fbd
Add rspec-system test for mysql_user.
2013-08-28 18:11:21 -04:00
Ashley Penney
88eea1708e
Add simplecov support in order to generate test coverage.
2013-08-28 18:11:21 -04:00
Ashley Penney
596d005a98
Rework tests for mysql_password to extend coverage.
2013-08-28 18:11:21 -04:00
Ashley Penney
369c83126b
Use new provider names in manifests.
...
Modify manifests and tests to handle the renamed providers.
2013-08-28 18:11:21 -04:00