Commit graph

791 commits

Author SHA1 Message Date
Ashley Penney
ac991e8e41 Merge pull request #463 from apenney/fix-oracle
This should help tests on Oracle 6, the lack of epel was breaking the bi...
2014-02-24 15:16:08 -05:00
Ashley Penney
820344f13a This should help tests on Oracle 6, the lack of epel was breaking the binding
tests.
2014-02-24 20:14:00 +00:00
Ashley Penney
1454a5ba19 Merge pull request #459 from dcarley/434-acceptance_tests_for_mysql_database
[#434] Acceptance tests for mysql_database
2014-02-20 12:22:32 -05:00
Dan Carley
b7445ad859 [#434] Acceptance tests for mysql_database
Includes a test for the regression fixed in 30ce3e0.

NB: The `ensure => present` on the resource without any `charset` or
`collate` arguments is intentional because of issue described in #458
2014-02-20 16:57:51 +00: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
Hunter Haugen
d2eea45749 Merge pull request #456 from apenney/221-release
Prepare 2.2.1 release.
2014-02-19 08:58:30 -08:00
Ashley Penney
4628f3557c Prepare 2.2.1 release. 2014-02-19 16:46:54 +00:00
Ashley Penney
9a89120f34 Fix this test for Debian. This is a total hack for now. 2014-02-19 10:08:18 -05:00
Ashley Penney
64163dbd1d Merge pull request #455 from apenney/fix-uninstall-logic
Fix this test for Debian.  This is a total hack for now.
2014-02-18 20:34:44 -05:00
Ashley Penney
f107531113 Fix this test for Debian. This is a total hack for now. 2014-02-18 20:33:52 -05:00
Ashley Penney
98905c501e Fixes for Ubuntu/Debian. 2014-02-18 16:26:41 -05:00
Ashley Penney
84fc716b24 Merge pull request #454 from apenney/pe-test-fails
Fixes for Ubuntu/Debian.
2014-02-18 16:26:16 -05:00
Ashley Penney
5eb6e7084d Fixes for Ubuntu/Debian. 2014-02-18 16:25:42 -05:00
Ashley Penney
34b8ebf6f5 Merge pull request #453 from igalic/ignorance
be more ignorant
2014-02-18 15:36:08 -05:00
Igor Galić
6b21dd5f13 be more ignorant 2014-02-18 21:34:37 +01:00
Ashley Penney
23f69868ef Repair this by ensuring calls to mysql include the database name.
A prior commit accidently broke this, meaning that mysql_database
was querying the mysql defaults instead of each individual database
when trying to determine the current collate settings.
2014-02-18 15:11:31 -05:00
Ashley Penney
7f72505a15 Merge pull request #452 from apenney/pe-test-fails
Repair this by ensuring calls to mysql include the database name.
2014-02-18 15:07:54 -05:00
Ashley Penney
30ce3e0e12 Repair this by ensuring calls to mysql include the database name.
A prior commit accidently broke this, meaning that mysql_database
was querying the mysql defaults instead of each individual database
when trying to determine the current collate settings.
2014-02-18 14:38:21 -05:00
Hunter Haugen
1bc459d05b Merge pull request #448 from apenney/220-release
Prepare 2.2.0 release.
2014-02-13 13:46:56 -08:00
Ashley Penney
a3ad293fca Prepare 2.2.0 release. 2014-02-13 21:27:28 +00:00
Ashley Penney
2a7583f0c1 Merge pull request #447 from apenney/fix-specs-some-more
Fix this so it installs PE appropriately.
2014-02-12 20:49:18 -05:00
Ashley Penney
27a70f5b52 Update nodesets. 2014-02-12 19:30:51 -05:00
Ashley Penney
a38e37546a Fix this so it installs PE appropriately. 2014-02-12 19:27:24 -05:00
Igor Galić
12ef27bc72 Merge pull request #445 from Phil0xF7/fix_multiple_rpm_install
Add check for puppet rpm before trying to install
2014-02-12 11:03:16 +01:00
Phil Pham
e1eed1c3eb update to install package using yum instead of rpm 2014-02-11 14:51:56 -08:00
Ashley Penney
f01f6b836e Merge pull request #446 from apenney/fix-specs
(maint) Fix the specs due to changes to backup.
2014-02-11 17:11:43 -05:00
Ashley Penney
eee60088dd (maint) Fix the specs due to changes to backup. 2014-02-11 17:10:35 -05:00
Ashley Penney
7d2eccc67c Merge pull request #444 from justinstoller/master_gem_source
Allow configuration of Gem source in Gemfile
2014-02-11 10:29:54 -05:00
Ashley Penney
aefbf567c5 Merge pull request #443 from igalic/fix-failing-backup-spec
Fix failing backup spec test
2014-02-10 17:07:20 -05:00
Ashley Penney
ac42ba43fc Merge pull request #413 from igalic/backup-postscript
option to specify a script that runs after backups
2014-02-10 17:06:11 -05:00
Phillip Pham
92046f6a35 Add check for puppet rpm before trying to install
This fixes an issue where subsequent tests will fail when the RS_PROVISION=no and RS_DESTROY=no flag is set for centos. The error is caused by attempting to install the puppet rpm on a machine that already has the puppet rpm installed.
2014-02-07 16:32:57 -08:00
Justin Stoller
e02ebc63d7 Allow configuration of Gem source in Gemfile
This commit allows configuring of the Gem source via an environment
variable "GEM_SOURCE" with a default of 'https://rubygems.org'.
This follows the conventions of Puppet Labs Open Source Platform team.
2014-02-07 12:22:22 -08:00
Igor Galić
51b09b7bc8 Fix failing backup spec tests
This partially reverts 7224f12c25
since after #416 the warnings are actually fixed at the source
2014-02-06 17:21:49 +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
Ashley Penney
f29d95c5b5 Merge pull request #435 from b4ldr/master
Add logic to ignore mysql.events
2014-02-03 11:48:58 -08:00
John Bond
10f346eaca Add logic to ignore mysql.events 2014-01-30 12:31:21 +01:00
Ashley Penney
7caebdb009 Merge pull request #427 from radford/my-cnf-undef
Allow override_options set to undef to completely remove the corresponding key reverting to the mysql default
2014-01-27 11:13:06 -08:00
Igor Galić
c747ea7ab5 Merge pull request #422 from stevesaliman/master
fixed a quoting problem with the mysql_database provider
2014-01-25 03:50:23 -08:00
Ashley Penney
3f9f0f632f Merge pull request #428 from radford/mysql-equates-dash-and-underscore
mysql_deepmerge should treat underscore and dash equivalently, as mysql does
2014-01-24 12:16:50 -08:00
Steve Saliman
80b97d295d Fixed a couple of failing tests 2014-01-24 13:06:34 -07:00
Igor Galić
3cd0938800 Merge pull request #426 from radford/my-cnf-false
Allow an option with a value of false to override something that mysql defaults to true rather than eliding it
2014-01-24 10:59:16 -08:00
Jim Radford
16baff686c mysql_deepmerge should treat underscore and dash equivalently, as mysql does 2014-01-23 22:41:58 -08: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
Jim Radford
136b1aa646 Allow options with values of false to override things that mysql default to true
instead of being elided, leaving the default.
2014-01-23 16:53:57 -08:00
Jim Radford
08e8477e96 Noop indent and cleanup the my.cnf template 2014-01-23 16:17:51 -08:00
Hunter Haugen
f348e12a37 Merge pull request #425 from radford/fix-service-provider
Actually use upstart on Ubuntu by fixing misspelled variable name
2014-01-23 13:39:38 -08:00
Jim Radford
dabb29dd6e Actually use upstart on Ubuntu by fixing misspelled variable name 2014-01-23 13:01:08 -08:00
Hunter Haugen
ba0ef0497e Merge pull request #424 from ghoneycutt/test_puppet_3_4
Test against Puppet v3.4.0
2014-01-23 11:09:37 -08:00
Hunter Haugen
9662dfd07f Merge pull request #423 from ghoneycutt/travis_enable_fast_finish
Enable fast finish in Travis
2014-01-23 11:09:19 -08:00
Garrett Honeycutt
708d8eff5a Test against Puppet v3.4.0 2014-01-23 14:05:13 -05:00