Commit graph

88 commits

Author SHA1 Message Date
Bryan Jen
caec312e42 Merge pull request #857 from aerostitch/add_mariadb_ex_doc
Add example of MariaDB server installation on Ubuntu
2016-06-28 15:37:36 -07:00
TP Honey
ce892fb01f Merge pull request #856 from cfasnacht/ticket/6404-new_maxallowedpacket_parameter
add new backup dump parameter maxallowedpacket
2016-06-22 19:51:06 +01:00
Christian Fasnacht
e733df7388 add new backup dump parameter maxallowedpacket 2016-06-21 15:44:59 +02:00
Joseph Herlant
21da7dc08d Add example of MariaDB server installation on Ubuntu 2016-06-15 20:15:09 -07:00
Jon Topper
ec5450ec75 Use facts for mysqld version discovery
Per https://tickets.puppetlabs.com/browse/MODULES-3441, the mysql
module has behaviour which varies by server version. The version is
discovered by running mysqld -V. On hosts without a MySQL server
package install, this fails, which means that contrary to the README,
it's not actually possible to use this module to manage a remote db.

This PR moves the version string discovery into a new fact,
mysqld_version which is used by the provider. This makes it possible
to configure the db version with a custom fact when a remote db
(eg AWS RDS) is being managed.
2016-06-15 10:43:50 +02:00
jbondpdx
16f1056863 edits on Percona usage example 2016-05-27 10:34:02 -07:00
Bryan Jen
e2fad83c1c Skips mysqlbackup.sh tests on MySQL 5.7+ 2016-05-26 11:18:27 -07:00
Joseph Herlant
ff39b730cc Adding documentation on the specific case of Percona server on Centos 2016-04-19 14:16:44 -07:00
jbondpdx
35b5f1c6c5 FM-3333: moved a puppet 2016-03-03 17:19:12 -08:00
jbondpdx
f06e1264cd FM-3333: tuning up mysql readme
now with more puppets
2016-03-03 16:32:41 -08:00
Robert Heinzmann
bdf4d0f52d Fixed MySQL 5.7.6++ compatibility
- Added MySQL version and flavour detection support
  - Added mysql_datadir provider/type (replaces Exec[mysql_install_db])
  - Added version specific parameters my.cnf ([mysqld-5.X] sections)
  - Version specific user mangement SQL (ALTER USER for 5.7.6++ ...)

Rebased-By: David Schmitt <david.schmitt@puppetlabs.com>
2015-12-10 18:39:40 +00:00
Martin Hagstrom
61058b7610 Don't hash passwords that are already hashed 2015-11-19 07:54:10 +01:00
jbondpdx
bfcba98859 DOCS: minor tuneups on README 2015-08-11 11:21:46 -07:00
Hunter Haugen
f1f47f4311 Prep 3.6.0 2015-08-10 15:09:24 -07:00
Lars Kellogg-Stedman
23a4a362a0 [#puppethack] use of mysql::db without mysql::server
This removes the hard dependencies on mysql::server from
manifests/db.pp. This permits one to use this module to manage databases
in an existing server, possibly located on a remote host (with a
properly configured /root/.my.cnf).
2015-07-30 15:53:24 +02:00
Drew Fisher
aba6280a49 Add Solaris support to MySQL module 2015-06-25 09:33:56 -06:00
jbondpdx
4cd07c0cd4 DOCS: minor edits to mysql readme 2015-05-19 10:51:00 -07:00
Travis Fields
9dad94a8c6 (fix) - Fix issue where fact is unknown at start
- Resolve issue where if known and failed versioncmp would result in idempotency issue on second run
2015-05-11 09:36:35 -07:00
Travis Fields
3ce8ad3799 (maint) - Add a fact for capturing the mysql version installed
- Add spec test for mysql_version fact
- Add `mysql_version` fact to README
2015-05-08 08:51:38 -07:00
Morgan Haskel
e4b4afd000 Merge pull request #683 from eems-leo/remove-old-root-pass
Remove references to old_root_password (cleanup)
2015-05-05 12:10:56 -07:00
Steven C. Saliman
ec14b87a81 Added options for including/excluding triggers and routines, and fixed a permission problem that was preventing triggers from being backed up 2015-04-30 08:01:06 -06:00
Leo Arnold
91ca5a0542 Corrected some typos in README 2015-03-25 18:48:53 +01:00
Sebastian Reitenbach
5116883111 Fix regression introduced by adding OpenBSD support.
Add a $mysql_group parameter, and use that instead of the $root_group
parameter to define the group membership of the mysql error log file.
2015-03-18 08:47:25 +01:00
Jesse Cotton
5b692a8f62 Deprecate mysql::server::old_root_password 2015-03-13 13:58:04 +00:00
Igor Galić
d7077b43d2 document mysql_server_id fact and add spec tests
add spec tests, expand documentation to mention lo behaviour
also, rename fact, for, consistency.
2015-03-04 08:56:45 +01:00
jbondpdx
35bc18355e DOCS: Minor edits on mysql readme
DOCS: minor pre-release fixes for mysql readme

added a subcategory to the TOC, couple of trivial proofreading things.

DOCS: fixed typo readme.md
2015-03-02 14:32:57 -08:00
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