Ashley Penney
1eb20d4f78
Merge pull request #521 from apenney/fix-eq-tests
...
Fix test so it doesn't fail on deprecation warnings.
2014-05-29 14:49:52 -04:00
Morgan Haskel
3871ca4206
Fixes to get tests running on RHEL5.
...
Existing EPEL addition in spec_helper_acceptance wasn't actually working, so pulled in stahnma-epel and applied that in the bindings test, since that's the only place it's actually required.
2014-05-12 12:32:20 -04:00
Morgan Haskel
d8a5043cc7
Fix the path for the hiera file.
2014-05-09 17:15:09 -04:00
Ashley Penney
b719956252
Replace the symlink with the actual file to resolve a PMT issue.
2014-05-09 16:53:12 -04:00
Ashley Penney
1999625fe2
Missed a couple of tests to gate off for unsupported platforms.
2014-05-09 16:53:11 -04:00
Ashley Penney
2bf1759f76
Fix hiera.yaml creation on PE.
2014-05-09 16:53:11 -04:00
Morgan Haskel
c57c762810
Package rename in Ubuntu 14.04.
2014-05-09 16:39:10 -04:00
Morgan Haskel
625cdf0e9f
Allow the tests to run on RHEL7.
2014-05-09 15:54:08 -04:00
Morgan Haskel
bb4640d64a
Change package/service for MariaDB.
2014-05-09 15:35:16 -04:00
Morgan Haskel
ad5381d67a
Fix to install ruby-mysql from gem.
2014-05-09 15:11:57 -04:00
Morgan Haskel
7c16c52ef4
Try to add some checks so the test doesn't do an rm -rf /
2014-05-09 13:58:46 -04:00
Morgan Haskel
a6bacbd144
Fix backup test, install bzip2.
2014-05-09 13:05:00 -04:00
Ashley Penney
81a1a19f24
Improve this so it works on Ubuntu 14.04.
2014-05-02 19:52:05 +02:00
Ashley Penney
7f4c067350
Remove all rspec-system traces.
2014-04-24 22:05:43 +02:00
Igor Galić
aa82f83ace
Merge pull request #500 from nerdlich/patch-1
...
User needs PROCESS privilege when doing file-per-database backup
2014-04-22 14:22:54 +02:00
nerdlich
b40865d740
Backup user needs PROCESS privilege when doing file-per-database backups
...
The following error occured:
mysqldump: Couldn't execute 'SELECT /*!40001 SQL_NO_CACHE */ * FROM `INNODB_BUFFER_PAGE`': Access denied; you need (at least one of) the PROCESS privilege(s) for this operation (1227)
2014-04-22 13:08:58 +02:00
Igor Galić
50612ab6ff
fix spec tests, by adding osrelease facts
2014-04-22 12:38:29 +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
Ashley Penney
ec1cc59d03
Merge pull request #479 from igalic/better-backup-test
...
backup script test: Actually loop through a list
2014-03-06 14:48:04 -05:00
Robin Gloster
5c8d97f81b
add test for ssl-disable
2014-03-04 14:58:37 +01:00
Igor Galić
53af16e601
backup script test: Actually loop through a list
...
we do this by creating more than one database to backup.
2014-03-02 13:30:30 +01:00
Ben Kero
ce6effe736
change box parameter to ensure vbox436 on centos65 type in acceptance test
2014-02-26 14:10:34 -08:00
Ben Kero
86d2051a5e
change vbox version and ensure correct path
2014-02-26 14:09:02 -08:00
Ben Kero
046580323e
add centos-65-x64 acceptance test yml file, slight change from 64
2014-02-26 14:04:09 -08:00
Ashley Penney
d1f4597e47
Add unsupported infrastructure for excluding OSes we can't test on.
2014-02-26 17:54:48 +00:00
Ashley Penney
e7f1e8de9b
Last SLES fix, don't use the deprecated parameter name.
2014-02-26 16:39:59 +00:00
Ashley Penney
c3a3e3ae13
Further SLES fixes to tests.
2014-02-26 15:45:38 +00:00
Ashley Penney
2d1a9f981a
This fixes:
...
* Bindings on SLES
* Makes sure we don't kill the service while testing conf file locations.
2014-02-26 14:54:54 +00:00
Ashley Penney
cbe562b5de
As we're deleting /etc/my.cnf, lets not restart MySQL in the middle
...
of this and cause a terrible explosion.
2014-02-25 01:21:08 +00:00
Ashley Penney
6271f71aa8
Fix the case of this, ARGH.
2014-02-25 01:18:45 +00:00
Ashley Penney
6a93d67bb8
Make this work in SLES as well As RedHat.
2014-02-24 20:39:08 +00: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
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
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
5eb6e7084d
Fixes for Ubuntu/Debian.
2014-02-18 16:25:42 -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
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
eee60088dd
(maint) Fix the specs due to changes to backup.
2014-02-11 17:10:35 -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
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
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
John Bond
10f346eaca
Add logic to ignore mysql.events
2014-01-30 12:31:21 +01: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