Commit graph

1110 commits

Author SHA1 Message Date
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
a26b80d750 Remove default install root password if set 2015-03-17 15:21:07 +00:00
Marc Remy
18229c4d02 Cosmetic: add comment managed by puppet 2015-03-17 15:58:37 +01:00
Igor Galić
b09d2337aa Merge pull request #688 from mremy/master
Manage service only if managed
2015-03-16 14:31:35 +01:00
Marc Remy
04b806044a Manage service only if managed
In the case of an unmanaged mysql service, defined with:
class {'::mysql::server':
[...]
  service_manage => false,
[...]
}

We have the following error:
Undefined variable "service_ensure"

In this case, we don't want to have it "started" or "stopped", as it is
managed by another application (in our case by pacemaker).

This patch resolve this issue, by setting service_ensure to undef, in the
case of an unmanaged service.
2015-03-16 12:58:54 +01:00
Jesse Cotton
5b692a8f62 Deprecate mysql::server::old_root_password 2015-03-13 13:58:04 +00:00
Igor Galić
facb57a108 Merge pull request #567 from buzzdeee/master
Add OpenBSD support.
2015-03-12 10:55:17 +01:00
Igor Galić
32329b77b7 Merge pull request #672 from timmooney/master
Only set up ordering between the config file and the service if we're managing the config file.
2015-03-11 14:50:30 +01:00
Sebastian Reitenbach
db72fe8d86 Add OpenBSD support, only for OpenBSD -current, since
the recent switch to mariadb.
2015-03-11 14:46:29 +01:00
Igor Galić
1c3bf95e21 mysql backup: fix regression in mysql_user call
due to a mishappen rebase, in #649, we introduced a regression fixed
which was fixed in #655.

how come our tests don't catch this?
2015-03-05 14:33:44 +01:00
Morgan Haskel
d28e64bee3 Merge pull request #686 from tphoney/igalic-server_id
Added server_id fact
2015-03-04 08:23:15 -08:00
tphoney
78a787107f minor typos fixed 2015-03-04 10:56:32 +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
Nick Le Mouton
dbf54cefe8 Added server_id fact
use mac address for "guaranteed" uniqueness ;)
2015-03-04 08:56:18 +01:00
Colleen Murphy
1a572d6070 Merge pull request #684 from mhaskel/merge_3.3.x_to_master
Merge 3.3.x to master
2015-03-03 12:30:36 -08:00
Morgan Haskel
c016825975 Merge branch 'jbondpdx-readme-rev' into 3.3.x 2015-03-02 14:33:14 -08: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
Travis Fields
9158e25d49 Merge pull request #680 from mhaskel/3.3.0-prep
3.3.0 prep
2015-03-02 11:30:26 -08:00
Morgan Haskel
17ccf76e31 3.3.0 prep 2015-03-02 11:28:11 -08:00
Morgan Haskel
7ee3b8b708 Whitespace fix 2015-03-02 11:27:56 -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
Morgan Haskel
7eea731a3a Merge pull request #678 from hunner/fix_logerror
(MODULES-1804) Allow override of log-error
2015-02-27 10:41:07 -08:00
Hunter Haugen
ce43899af3 (MODULES-1804) Allow override of log-error
The mysqld log-error setting may be passed by override_options, but
server/service.pp was not using the overridden value. This fixes that.
2015-02-27 09:54:00 -08:00
Colleen Murphy
037d30d82c Merge pull request #677 from mhaskel/fix_for_654
PR 654 was incorrectly using stdlib dirname
2015-02-24 12:01:44 -08:00
Morgan Haskel
b630ecae50 Merge pull request #675 from jbondpdx/readme-rev
Readme rev
2015-02-24 11:13:55 -08:00
Morgan Haskel
c1191f1230 PR 654 was incorrectly using stdlib dirname
puppetlabs-mysql has a dependency on stdlib 3.2.0, which does not
include the dirname function.
2015-02-24 11:08:29 -08:00
Igor Galić
e323f69c04 Merge pull request #654 from NoodlesNZ/logbindir
Check for full path for log-bin to stop puppet from managing directory “."
2015-02-24 08:49:11 +01: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
Hunter Haugen
efcf2ed9d7 Merge pull request #674 from cyberious/LintFixes
Fix lint issues due to merging of PR #649
2015-02-19 11:00:02 -08:00
Travis Fields
51d66a53ab Fix lint issues due to merging of PR #649 2015-02-19 10:55:24 -08:00
Igor Galić
cb142f414d Merge pull request #649 from dveeden/newbackupprovider
Use backup providers
2015-02-19 16:06:42 +01:00
Igor Galić
3f1871369a Merge pull request #671 from aldavud/fix-bug-in-578
Fix bug in 578
2015-02-16 20:56:25 +01:00
David Gurtner
b3c33f0a13 fix bug in GH-578
the recently added feature to support galera by allowing independent
creation of the root@localhost user in the DB and the /root/.my.cnf
file contains a bug.

specifically the .my.cnf file resource still requires the root@localhost
resource, even when it is not available.

this fixes the issue by making the dependency conditional.
2015-02-16 17:01:18 +01:00
Igor Galić
efa2f589f3 Merge pull request #673 from cmurphy/lint
Fix lint warnings and ensure lint fails on warnings
2015-02-16 15:53:10 +01:00
Colleen Murphy
d6b16420bb Fix lint warnings and ensure lint fails on warnings 2015-02-12 12:09:55 -08:00
Tim Mooney
24eca014b8 Only set up ordering between the config file and the service if we're
managing the config file.
2015-02-12 12:37:37 -06: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
Nick Le Mouton
dc711561d7 Check for full path for log-bin to stop puppet from managing directory “.” 2015-02-12 08:19:54 +11:00
Colleen Murphy
b64ca51cfb Merge pull request #669 from dveeden/lint-fix
Fix rake lint error in examples/server/config.php
2015-02-11 12:49:30 -08:00
Daniël van Eeden
f2bfe9e0fb Fix rake lint error in examples/server/config.php
examples/server/config.pp - ERROR: trailing whitespace found on line 2
2015-02-11 14:31:47 +01:00
Colleen Murphy
7e81906e20 Merge pull request #668 from mhaskel/merge_3.2.x_to_master
Merge 3.2.x to master
2015-02-10 12:50:26 -08:00
Hunter Haugen
f93fbe3f5d Merge pull request #667 from mhaskel/tests_to_examples
move tests to examples
2015-02-09 15:48:59 -08:00
Morgan Haskel
d665e8fd17 move tests to examples 2015-02-09 15:47:12 -08:00
Hunter Haugen
a51b983871 Merge pull request #664 from mhaskel/3.2.0-prep
3.2.0 prep
2015-02-09 15:44:45 -08:00
Hunter Haugen
83978058de Merge pull request #665 from mhaskel/lint_fixes
lint cleanup
2015-02-09 15:39:14 -08:00