Commit graph

62 commits

Author SHA1 Message Date
Morgan Haskel
60c0bfb869 Merge pull request #679 from elricsfate/master
Modified Line 49 and 220 to fix broken links
2015-02-27 12:09:49 -08:00
Morgan Haskel
7a3fe1ca00 Merge pull request #617 from juniorsysadmin/package-manage-parameter
(MODULES-1143) Add package_manage parameters
2015-02-27 12:06:25 -08:00
Robert T
a1eca5f3a1 Modified Line 49 and 220 to fix broken links 2015-02-27 19:52:56 +00:00
jbondpdx
2635e1a9da DOC-1491: fixed typo
Format-breaking typo: `~~~
2015-02-23 11:31:20 -08:00
jbondpdx
97f3ac776e DOC-1491: Add'l updated on revision; new params updated.
Added new private class listings, updated information about new `provider` param.
2015-02-20 16:21:24 -08:00
jbondpdx
91d10773ae DOC-1491: Major revision mysql module readme
Major revision of the mysql module README. Added missing information, reorganized, rewrote.

Another fix incoming shortly to fill out new `provider` parameter information.
2015-02-20 15:44:57 -08:00
juniorsysadmin
f5a693b826 (MODULES-1143) Add package_manage parameter
This patch adds a package_manage parameter for both mysql::server and
mysql::client
2015-02-12 13:33:36 +11:00
Daniël van Eeden
58508b772a Use backup providers
Add MySQL Enterprise Backup and Percona XtraBackup
2015-02-11 22:27:35 +01:00
Morgan Haskel
b9fbba3b0d Merge pull request #578 from franzs/new_root_options
Add new parameters create_root_user and create_root_my_cnf.
2015-02-09 14:13:07 -08:00
Hunter Haugen
b3a38a8dfe Merge pull request #645 from dveeden/auth-plugins
Support authentication plugins
2015-02-06 12:40:49 -08:00
Daniël van Eeden
74132ec038 Add type & provider for managing plugins 2015-01-26 15:03:45 +01:00
Daniël van Eeden
367fcf06af Support authentication plugins
This uses CREATE USER xxx IDENTIFIED WITH yyy

For tests:
 unix_socket is not loaded by default, so this might require:
 install plugin unix_socket soname 'auth_socket.so';

 The mysql_native_password plugin is available by default and
 allows you to also set a password.

Try to make it compatible with MySQL < 5.5.7 it uses version
specific code with "/*!50508 stmt */"
2015-01-24 17:28:17 +01:00
Daniël van Eeden
d45b6a8097 Make sure the example is somewhat secure 2015-01-17 18:27:04 +01:00
Morgan Haskel
3c872abcd2 Remove mysqltuner, fetch with staging instead
mysqltuner is licensed under GPL so we don't want to package it with the
module.
2014-12-16 10:52:39 -08:00
Damon Conway
7de2316e15 [MODULES-1484] Add support for install_options for all package resources.
Add install_options parameter to mysql::bindings, mysql::client, and
mysql::server. The default is undef.
2014-11-08 00:30:00 -06:00
Igor Galić
39aa5f511a Merge pull request #576 from igalic/timeout
Timeout
2014-10-19 19:17:52 +02:00
Franz Schwartau
02564bfe08 Add new parameters create_root_user and create_root_my_cnf.
This allows the galera module and others to write ${::root_home}/.my.cnf
independently from create the mysql user. This is useful for cluster
setups where you want to create ${::root_home}/.my.cnf on every node
but create the user only once.
2014-10-06 10:53:30 +02:00
Frederik Wagner
f88719b52f (MODULES-552) Add capability to specify column_privileges 2014-10-06 08:11:01 +02:00
refnode
16d2df2cb9 Add documentation for new mysql::db "import_timeout" parameter
Signed-off-by: refnode <refnode@gmail.com>
2014-09-29 17:43:29 +02:00
Igor Galić
51162faf2e Merge pull request #555 from jonmosco/documentation_php
added mysql::bindings::php to the README.md
2014-08-14 12:00:43 +02:00
Jon Mosco
f1c1e7b7d2 added mysql::bindings::php to the README.md 2014-08-13 13:02:14 -04:00
I'm on Vacation until 18th of July
70cafdc283 Merge pull request #509 from xbezdick/master
Parametrize !includedir
2014-07-23 12:38:18 +02:00
Lauren Rother
d4f7ff2599 Update TOC for accuracy 2014-07-10 10:54:35 -07:00
digitalyuki
5239950da8 Edited examples in documentation to reflect actual usage of hashed parameters
Edited the puppet markup

Made changes as suggested, with one-liner comment added to refer to Overrides for examples of the hash structure
2014-06-04 10:31:02 -04:00
Lukas Bezdicka
26204437ef Prametrize !includedir
Hardcoded path provided by puppet is now replaced by providing only the final directory as on
most systems includedir is provided by package and it's matter of user to provide it if he
wants to override it. This also allows disabling including at all.
2014-06-04 14:07:49 +02:00
Ashley Penney
71d1f24bd9 Merge pull request #457 from igalic/independent-backup
mysqlbackup.sh should be able to find mysql
2014-04-10 13:46:19 -04:00
Pan
2834498e4d Allow use different name for db resource other than db name
When defining the mysql::db as exported resources, there are chances that the
same resource names are defined across the site, which will cause puppet agent
fail. By adding an optional dbname parameter, default to the $name, it allows the
resouce name to be defined differently, e.g. ${dbname}_${domain}.
Also updated test and docs for dbname parameter and add acceptance test for
dbname parameter feature
2014-03-15 13:38:13 -07:00
Igor Galić
d2b24e40d3 mysqlbackup.sh should be able to find mysql
anywhere. This should enable use to use mysql::server::backup
idependantly, even if mysql is preinstalled, and preinstalled in non
standard locations
2014-02-20 17:17:41 +01:00
Igor Galić
63e0da0b71 option to specify a script that runs after backups
This script could be used to sync backups to a central server, or just
to create a file to let external scripts know that backups are
(sucessfully) done and can be picked up.

The postscript option (defaults to false) and can be either a string or
an array of strings. These strings will be directly put into the
mysqlbackup.sh and as such can either be shell commands, or externally
managed files.
2014-02-06 16:44:07 +01:00
Jim Radford
56e81a38c8 Allow override_options to set an option to undef to completely remove it
allowing reverting to mysql's default value.

Note that previously a value of :undef would have led to a nonsensical
my.cnf file.
2014-01-23 17:34:27 -08:00
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