Commit graph

82 commits

Author SHA1 Message Date
Lee Boynton
a5887080e0 Remove duplicate service_provider description
The `service_provider` parameter was explained in the README twice, so I've removed one of them.
2014-01-20 17:19:59 +00:00
Lauren Rother
2091b8b8cf Changes '[version]' and paragraph about override options
Changes '[version]' to 'x.y.z' based on feedback from ashp. Adds additional options to override options paragraphs.
2014-01-08 14:44:03 -08:00
Lauren Rother
c752a3da8f Update README
Edits sentences for spelling, capitalization, and grammar. Edits sentences for contextual consistency and clarity. Adds some missing descriptions.
2014-01-08 13:48:19 -08:00
Igor Galić
e667d52c91 Merge pull request #407 from johnsyweb/fix-documentation
Fix documentation
2014-01-02 16:30:36 -08:00
Zachary Alex Stern
0f3664f764 Fixed typo.
Noticed typo, figured I'd fix it.
2013-12-27 14:30:34 -08:00
Pete Johns
85afc5ca95 Fix typos 2013-12-27 19:48:27 +11:00
Guillaume Coré
dae8018520 Support multiple lines of the same option
Some MySQL options need to be passed several times. For example :

  http://dev.mysql.com/doc/refman/5.5/en/replication-options-slave.html#option_mysqld_replicate-do-db

  This is currently impossible with the override_options. This patch allows to
  pass array as value. Example :

    override_options => {
      'client' => {
        'password' => 'xxx',
      },
      'mysqld' => {
        'bind_address'    => '0.0.0.0',
        'replicate-do-db' => ['base1', 'base2', 'base3'],
      },
    }

  Which will be evaluated into :

    [client]
    password = xxx

    [mysqld]
    bind_address = 0.0.0.0
    replicate-do-db = base1
    replicate-do-db = base2
    replicate-do-db = base3
2013-12-18 16:00:12 -05:00
Evan Heidtmann
c654fe1ba8 Parameterize backup directory mode and ownership 2013-11-15 20:55:21 -08:00
Mason Malone
d07eaf3e86 Typos in README 2013-11-11 09:59:40 -05:00
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
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
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
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
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
6bdb92d354 Rework the documentation to align with the new refactored module. 2013-09-13 13:14:48 -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
Ashley Penney
f3e5c89551 Merge pull request #187 from RsrchBoy/topic/perl
add mysql::perl helper class
2013-07-02 10:37:10 -07:00
Kristian Glass
5d9bd3eaa4 Update README.md
Typo fix (priviledged -> privileged)
2013-06-13 16:00:13 +02:00
Chris Weyl
81f333dbff ...and credit $self, too.
Why not?
2013-05-03 09:25:31 -07:00
Chris Weyl
724098edfc ...and add mysql::perl to README.md 2013-05-03 09:25:31 -07:00
David Nalley
f6be079081 Adding php bindings to readme 2013-03-03 01:28:10 -05:00
Matthias Viehweger
ba9c239295 Solve an edge-case of syntax highlighting in README.md
In my vim-setup, the underscore in `create_resources` leads to
rendering everything in italics after that. Wrapping it in backticks
solves this in the editor and also looks better when rendered as HTML.
2013-02-14 23:09:59 +01:00
William Van Hevelingen
a3868bc65b Update travis config file
This commit standardizes the Gemfile and travis.yml to be similar
to the files in stdlib. Puppet 3 and ruby 1.9.3 are now added to
the matrix
2013-02-02 17:24:07 -08:00
Ryan Coleman
bf05db23fe Mention pluginsync in README
Pluginsync is required for this module to function properly. This
commit mentions that requirement and points at documentation on
how to enable pluginsync.
2012-10-18 19:53:18 -07:00
mcary
0137e7edeb Clarify how to grant specific privileges with database_grant
When I tried to use database_grant, I assumed the privilege 
names would match the SQL GRANT command, for example, SELECT
or CREATE TEMPORARY TABLES.  But in fact the privilege names
are taken from columns of the mysql.db table.  As a result,
a row was created in mysqld.db, but none of the privileges 
I intended to grant were actually granted.

Someone else filed a ticket with the same issue:
http://projects.puppetlabs.com/issues/15808

Document that how to specify individual privileges in
README.md.
2012-08-21 10:42:20 -07:00
Dan Bode
360f8d968a Merge pull request #64 from runningman/backup
Added mysql::backup class.
2012-05-10 22:44:52 -07:00
Michael Arnold
4158137278 Added mysql::backup class.
Installs a mysql backup script, cronjob, and priviledged backup user. 
Includes rspec tests and updated documentation.
2012-04-23 22:53:59 -07:00
Michael Arnold
86eec56118 Added documentation for mysql::java. 2012-04-23 21:48:32 -07:00
Nan Liu
558a59cda7 Document create_resources dependency. 2012-03-16 23:20:02 -05:00
Nan Liu
8265d28c66 Add documentation related to osfamily fact.
In the refacter, osfamily requires facter 1.6.1+ so the readme is
updated with more information related to this change.
2012-03-15 01:11:11 -05:00
Nan Liu
b1f90fd1d2 Major refactor of mysql module.
This is a major change to the module and would be released as a new
version.

* Add self.instances to database and database_user for puppet resource.
* Update database provider to use flush method.
* Update module to conform to puppet-lint recommendations.
* Cleanup some unecessary logic in mysql::db define type.
* Move mysql_restart to config class.
* Use class to class dependency instead of resource dependency.
* Change appropriate rspec-puppet tests.
* Add fixtures directory to simplify testing.
* Update raketask and spec_helper to reflect fixture changes.
* Update mysql_password function to support validation.
* Move client installation to a separate class.
* Update documentation and readme.
2012-03-13 15:19:53 -07:00
William Van Hevelingen
3b7dfeb608 Changed the README to use markdown
Switched the README to use markdown instead of plain text
as is standard with other puppetlabs modules
2012-02-09 23:28:43 -08:00