Commit graph

830 commits

Author SHA1 Message Date
Igor Galić
b3dc36a125 Merge pull request #429 from paramite/f20-mariadb
Change also service_name for Fedora
2014-04-02 15:27:11 +02:00
Igor Galić
469d25d9e7 Merge pull request #493 from igalic/rake
Fixed travis by updating Gemfile to pin Rake to 10.1.1
2014-03-26 14:02:03 +01:00
Igor Galić
e08a0790d4 Fixed travis by updating Gemfile to pin Rake to 10.1.1
The latest Rake update requires Ruby >= 1.9. This update
fixes the failing 1.8.7 tests by pinning Rake to the last
supported version on ruby 1.8.7.

This is a direct copy from @blkperl's fix for puppetlabs-apache
https://github.com/puppetlabs/puppetlabs-apache/pull/685
2014-03-26 13:41:10 +01:00
Martin Magr
c47d1fb586 Modified params.pp to work on latest Red Hat releases
On Fedora-20+ and RHEL-7+ mysqld service does not work any more
and has been replaced by mariadb service. This patch changes all
parameters accordingly.
2014-03-18 17:34:54 +01:00
Igor Galić
97c4d4e282 Merge pull request #489 from xcompass/exported-resource-mysql-db
Allow to use different name for db resource other than db name
2014-03-17 19:18:09 +01:00
Pan
df706eec5e Use ensure_resource for mysql_databasein mysql::db
This will allow exported resource mysql::db to define same database but different
hostname and enables the cluster web nodes to declear the mysql::db and
to be collected on db node.
2014-03-15 13:38:17 -07: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
Igor Galić
6506c1d4f4 Merge pull request #490 from TracyWebTech/master
[BUG] [Critical] Removing extra space after slash in mysqlbackup.sh
2014-03-11 15:02:18 +01:00
Sergio Oliveira
3d4a153797 [BUG] [Critical] Removing extra space after slash
This extra space was breaking the backup script when running with
`backupdatabases`
2014-03-10 08:22:15 -03: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
Ashley Penney
22b6b76ac2 Merge pull request #488 from Mayflower/master
fix #487 mysql not starting if ssl is not disabled
2014-03-06 08:21:10 -05:00
Robin Gloster
e4d63f7dc6 fix mysql not starting if ssl is not disabled 2014-03-06 14:03:13 +01:00
Igor Galić
501448c29e Merge pull request #477 from Mayflower/master
handle mysql compiled without ssl
2014-03-06 13:04:23 +01:00
Ashley Penney
3fa4154365 Merge pull request #486 from hunner/remove_autorelease
Remove autorelease
2014-03-05 12:18:32 -05:00
Hunter Haugen
e16e0df9a4 Remove autorelease 2014-03-05 09:10:18 -08:00
Robin Gloster
5c8d97f81b add test for ssl-disable 2014-03-04 14:58:37 +01:00
Robin Gloster
47521aea8e add message to warn if disabling ssl 2014-03-04 14:58:17 +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
Robin Gloster
abcea00dcb handle mysql compiled without ssl
mysql doesn't allow ssl=true/false in my.cnf if it hasn't been compiled
with ssl, therefor add a new parameter ssl-disable which makes sure the
template doesn't write anything with ssl to the config.
2014-02-28 21:42:41 +01:00
Hunter Haugen
7884ff744e Merge pull request #471 from bkero/master
Add centos65-x64 acceptance test yaml file
2014-02-26 14:16:01 -08: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
c8bff9b0ec Merge pull request #470 from apenney/unsupported-tests
Add unsupported infrastructure for excluding OSes we can't test on.
2014-02-26 13:03:31 -05: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
60197051e4 Merge pull request #469 from apenney/sles-fixes
Last SLES fix, don't use the deprecated parameter name.
2014-02-26 11:42:14 -05:00
Ashley Penney
e7f1e8de9b Last SLES fix, don't use the deprecated parameter name. 2014-02-26 16:39:59 +00:00
Ashley Penney
c1743f45fd Merge pull request #468 from apenney/sles-fixes
Further SLES fixes to tests.
2014-02-26 10:47:24 -05:00
Ashley Penney
c3a3e3ae13 Further SLES fixes to tests. 2014-02-26 15:45:38 +00:00
Ashley Penney
ca5269f813 Merge pull request #467 from apenney/sles-fixes
This fixes:
2014-02-26 09:56:35 -05: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
0f8650610c Merge pull request #466 from apenney/wel-now
As we're deleting /etc/my.cnf, lets not restart MySQL in the middle
2014-02-24 20:24:12 -05: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
Hunter Haugen
eebb18e8db Merge pull request #465 from apenney/wel-now
Fix the case of this, ARGH.
2014-02-24 17:20:58 -08:00
Ashley Penney
6271f71aa8 Fix the case of this, ARGH. 2014-02-25 01:18:45 +00:00
Ashley Penney
50798f3255 Merge branch 'master' into 2.2.x 2014-02-24 20:43:58 +00:00
Ashley Penney
f9d9110388 Merge pull request #464 from apenney/fix-sles
Make this work in SLES as well As RedHat.
2014-02-24 15:44:41 -05:00
Ashley Penney
6a93d67bb8 Make this work in SLES as well As RedHat. 2014-02-24 20:39:08 +00:00
Ashley Penney
da384ba8b3 Merge branch '2.2.x' of https://github.com/puppetlabs/puppetlabs-mysql into 2.2.x 2014-02-24 20:17:07 +00:00
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