Seth Lyons
dc9dcee4fe
update to proper defaults for freebsd
2015-05-12 15:26:50 -04:00
Hunter Haugen
6639efcea2
Merge pull request #711 from cyberious/master
...
(fix) - Change default for mysql::server::backup to ignore_triggers =…
2015-05-12 11:27:18 -07:00
Travis Fields
d3901f205a
(fix) - Change default for mysql::server::backup to ignore_triggers => false
...
- Update spec acceptance test to check for which version is currently installed prior to testing
2015-05-12 09:45:10 -07:00
Hunter Haugen
61c53727c2
Merge pull request #709 from cyberious/master
...
(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 10:29:10 -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
Hunter Haugen
030556162e
Merge pull request #708 from cyberious/master
...
(fix) - Check for mysql_verison before assuming that triggers are a valid permission
2015-05-08 10:10:15 -07:00
Travis Fields
8b1fa24479
(fix) - Fix an issue were we assume triggers work
...
- There are older versions of mysql that do not support the privilege TRIGGER and need to change default to not include
http://dev.mysql.com/doc/refman/5.0/en/grant.html
'MySQL does not support the standard SQL UNDER privilege, and does not support the TRIGGER privilege until MySQL 5.1.6'
- Updated tests to have both 5.1.6 and 5.0.11 tests for mysql_version fact
2015-05-08 08:51:38 -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
Igor Galić
dd129d5e52
Merge pull request #707 from puppetlabs/modulesync_updates
...
Modulesync updates
2015-05-07 11:34:06 +02:00
Morgan Haskel
617843aaef
beaker gemfile fixes
2015-05-06 14:32:49 -07:00
Morgan Haskel
c4a66e0379
sync via modulesync
2015-05-06 14:30:59 -07:00
Morgan Haskel
11f3b2dd86
sync via modulesync
2015-05-06 14:10:25 -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
Igor Galić
41ab4b9e48
Merge pull request #706 from pondohva/ticket/1981-revoke-grant-problem
...
MODULES-1981: Revoke and grant difference of old and new privileges
2015-05-04 15:27:24 +02:00
Artur Gadelshin
35c75b79bb
MODULES-1981: Revoke and grant difference of old and new privileges
2015-05-04 16:07:10 +03:00
Igor Galić
e57ad4e4e5
Merge pull request #705 from stevesaliman/backup-triggers-routines
...
Added options for including/excluding triggers and routines to the mysql::server::backup module
2015-05-04 10:07:47 +02:00
Steven C. Saliman
1018a0370a
Cleaned up the privilege assignment in the mysqldump backup script
2015-04-30 14:21:08 -06:00
Steven C. Saliman
49f273a42c
Made the 'TRIGGER'privilege of mysqldump backups depend on whether or not we are actually backing up triggers
2015-04-30 12:37:38 -06: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
Igor Galić
cc5d937b83
Merge pull request #701 from roidelapluie/fixinstalldb
...
Split package installation and database install
2015-04-25 18:40:38 +02:00
Julien Pivotto
c2b0b4cb2c
Split package installation and database install
...
The current install pattern used by this module is the following:
1. Install package
2. Install the DB
3. Make the config files
In some cases this prevents MySQL to start, because some variables in
the config file have an impact on the DB installation.
Example with a custom innodb_data_file_path:
[ERROR] InnoDB: space header page consists of zero bytes in data file
/var/lib/mysql/ibdata
This commit changes the order to do:
1. Install package
2. Make the config files
3. Install the DB
2015-04-23 13:17:08 +02:00
Igor Galić
a4b7595fde
Merge pull request #700 from mvisonneau/master
...
Bugfix on Xtrabackup crons
2015-04-22 15:39:48 +02:00
Maxime VISONNEAU
2b9e777637
Bugfix on Xtrabackup crons
2015-04-21 14:25:11 +02:00
Igor Galić
873dea342f
Merge pull request #699 from melan/master
...
Adds default values for parameters and align assignments
2015-04-16 13:43:57 +02:00
Dmitry Melanchenko
6a79d26838
references to README.md and default values were added to workaround warnings from puppet-lint
2015-04-15 21:25:37 +00:00
Hunter Haugen
97c9eea81e
Merge pull request #698 from mhaskel/MODULES-1928
...
MODULES-1928 - allow log-error to be undef
2015-04-14 10:37:29 -07:00
Morgan Haskel
298242e043
MODULES-1928 - allow log-error to be undef
...
Wrap the file resource so that this doesn't explode if log-error is
undef. This is required for syslogging.
2015-04-13 17:05:22 -07:00
Igor Galić
eb3fa4e9f5
Merge pull request #697 from fraenki/freebsd_support
...
fix FreeBSD support for backups
2015-04-13 15:39:15 +02:00
Morgan Haskel
c2ec74b1b5
Merge pull request #687 from igalic/provider-regr
...
mysql backup: fix regression in mysql_user call
2015-04-08 15:35:25 -07:00
Frank Wall
a2faed23ac
fix FreeBSD support for backups
2015-03-31 12:58:49 +02:00
TP Honey
5de035c60d
Merge pull request #696 from leoarnold/master
...
Corrected some typos in README
2015-03-30 10:24:09 +01:00
Justin Stoller
85a5d8be6f
Merge pull request #695 from anodelman/master
...
(BKR-147) add Gemfile setting for BEAKER_VERSION for puppet...
2015-03-26 16:48:12 -07:00
Leo Arnold
91ca5a0542
Corrected some typos in README
2015-03-25 18:48:53 +01:00
Alice Nodelman
519371ff0a
(BKR-147) add Gemfile setting for BEAKER_VERSION for puppet...
...
puppetdb, etc
- support for BEAKER_VERSION and BEAKER_RSPEC_VERSION in gemfile
2015-03-24 14:53:44 -07:00
Morgan Haskel
c05952a398
Merge pull request #694 from cmurphy/rspec-puppet-2
...
Test and future parser updates
2015-03-24 15:53:44 -04:00
Colleen Murphy
6104cfa445
Update .travis.yml
...
This commit makes the following changes to the test matrix:
- Runs tests on ruby 2.1.5 instead of 2.0.0
- Runs tests on ruby 1.8.7 with puppet 3.x
- Adds an environment to run on an intermediate 3.x puppet version
instead of latest (specifically 3.4.x)
- Adds an environment to run with the future parser on latest puppet.
This would affect the test runs for the validate and spec checks.
- Runs the tests on docker
2015-03-23 22:09:40 -07:00
Colleen Murphy
0e2e148a82
Keep testing on puppet 2.7
...
The modulesync config repo is dropping universal support for puppet
2.7, but individual repos should still keep support until the next
naturally-occuring major release.
2015-03-23 22:09:27 -07:00
Colleen Murphy
9b977ec943
Remove unneeded dependencies
...
puppetlabs_spec_helper handles these dependencies for us.
2015-03-23 22:09:27 -07:00
Colleen Murphy
a59c68b165
Update tests for rspec-puppet 2 and future parser
...
This patch changes the raise_error matchers to use `catalogue` instead
of `subject` since `subject` is not evaluated the way it used to be;
changes a parameter value from empty string to nil to be compatible
with the future parser, and unpins rspec-puppet.
2015-03-23 22:09:15 -07:00
Igor Galić
d8b7a9011e
Merge pull request #690 from mremy/comment
...
Cosmetic: add comment managed by puppet
2015-03-18 18:59:15 +01:00
Morgan Haskel
97b7223f48
Merge pull request #691 from buzzdeee/master
...
Fix regression introduced by adding OpenBSD support.
2015-03-18 10:53:44 -07: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
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