Commit graph

1302 commits

Author SHA1 Message Date
TP Honey
4049258c30 Merge pull request #745 from jonnytpuppet/2030-only-establish-service-depencency-when-managed
#2030 Only establish dependency between service and package if package is managed.
2015-08-06 15:04:51 +01:00
Johnson Earls
6924dea7bd #2030 Only establish dependency between service and package if package is managed. 2015-08-06 14:23:47 +01:00
JT (Jonny)
2c8a822f25 Merge pull request #744 from danzilio/xtrabackup_enhancements
(MODULES-2340) Implement script functionality for xtrabackup provider
2015-08-06 13:57:02 +01:00
David Danzilio
a7a5c66bc4 Add support for postscript for xtrabackup provider
This commit implements the 'postscript' functionality for the xtrabackup
provider. It also adds a 'prescript' option to be executed before a
backup.
2015-08-05 16:15:25 -04:00
Igor Galić
8dcb82ccf2 Merge pull request #743 from michaeltchapman/showdiff
Fix show_diff already set on .my.cnf
2015-08-05 13:56:44 +02:00
Michael Chapman
0dffab2923 Fix show_diff already set on .my.cnf
show_diff is set twice on .my.cnf causing compilation error:

Parameter 'show_diff' is already set on File[/.my.cnf]

This patch removes one of them
2015-08-05 15:03:45 +10:00
Hunter Haugen
c7de52013b Merge pull request #742 from redhat-cip/idempotent-config
Ensure idempotency between Puppet runs
2015-08-04 11:05:46 -07:00
Emilien Macchi
ba52d1d6e9 Ensure idempotency between Puppet runs
Running RHEL 7.1, puppetlabs-mysql is not idempotent.
After a second run, puppet tries to change the SElinux context:
/File[mysql-config-file]/seltype: seltype changed 'etc_t' to
'mysqld_etc_t'

Since packaging already manages SElinux labels, we should not let
Puppet doing it (default behavior).
This patch aims to set selinux_ignore_defaults to True for the
mysql-config-file File resource.

Thanks to that patch, Puppet will be indempotent between all runs on
RHEL platforms.
2015-08-04 13:38:03 -04:00
Bryan Jen
d6942fbaef Merge pull request #740 from puppetlabs/3.5.x
3.5.x mergeback
2015-08-03 15:01:35 -07:00
Bryan Jen
f0a064aebd Merge pull request #739 from hunner/dont_print_root
Dont print root
2015-08-03 15:01:18 -07:00
Hunter Haugen
e3c9932a29 Merge pull request #736 from igalic/no_server
[#puppethack] do not require mysql::server when using mysql::db
2015-07-30 12:01:49 -07:00
Igor Galić
f44830ca7b autorequire mysql::server in types
instead of making mysql::db have a hard dependency on mysql::server, we
now have a (soft) dependency on it through the types (mysql_user, and
mysql_database) that mysql::db uses. (n.b.: mysql_grant depends on
mysql_user so it doesn't need an explicit dependency on mysql::server)
2015-07-30 16:11:17 +02:00
Lars Kellogg-Stedman
23a4a362a0 [#puppethack] use of mysql::db without mysql::server
This removes the hard dependencies on mysql::server from
manifests/db.pp. This permits one to use this module to manage databases
in an existing server, possibly located on a remote host (with a
properly configured /root/.my.cnf).
2015-07-30 15:53:24 +02:00
JT (Jonny)
d8728eb32d Merge pull request #735 from DavidS/solaris-11-workaround
(maint) workaround PUP-3450 on Solaris 11
2015-07-27 16:24:40 +01:00
David Schmitt
502bdc9360 (maint) workaround PUP-3450 on Solaris 11 2015-07-27 14:27:23 +01:00
Hunter Haugen
c9e9f403a0 Merge pull request #734 from DavidS/release-prep
Release prep
2015-07-24 08:19:36 -07:00
David Schmitt
91c44c2e25 Release prep for 3.5.0 2015-07-24 15:14:41 +01:00
David Schmitt
253f74925e (maint) fix spec formatting
this configuration caused rspec to output messages twice on travis
2015-07-24 15:14:37 +01:00
David Schmitt
c2e4b9f01c (maint) update to current modulesync configs 2015-07-24 14:08:27 +01:00
Morgan Haskel
845b151e37 Merge pull request #733 from hunner/remove_sles10
Remove sles 10 from metadata.json
2015-07-20 16:58:44 -07:00
Hunter Haugen
d0800c5b07 Remove sles 10 from metadata.json
SLES 10 has mysql 5.0.26 in its repo, and 5.0.40 is the oldest that this
module even has a hope to work on, so it has never worked.
2015-07-20 16:56:38 -07:00
TP Honey
f9359624f0 Merge pull request #732 from DavidS/dont_print_root
(maint) don't print diff root password in diff
2015-07-14 12:16:00 +01:00
tphoney
8f628b8d73 (maint) don't print diff root password in diff
For puppet versions that support it, suppress diffing root's password.
2015-07-14 11:52:34 +01:00
tphoney
d2b33b5af2 dont print diff root password in diff
puppet 2.7 doesnt support show_diff

hash alignment
2015-06-29 16:43:35 +01:00
Spencer Krum
fd03318331 Merge pull request #729 from drewfisher314/ticket/2153-add-solaris-12
Add Solaris support to MySQL module
2015-06-25 20:15:52 -07:00
Igor Galić
ffa2b1ecea Merge pull request #730 from binford2k/fix/dont_explode_if_mac_fails
Don't explode if macaddress isn't set
2015-06-25 15:48:28 -07:00
Morgan Haskel
c6afa1181a Merge pull request #722 from igalic/lenght_check
length check for usernames should take mysql version into consideration
2015-06-25 11:18:24 -07:00
Ben Ford
eaff7e40b5 Don't explode if macaddress isn't set
Sometimes the macaddress fact fails, for example sometimes in a Docker
container. We shouldn't clutter up reports with spurious warnings in
that case.
2015-06-25 10:23:58 -07:00
Drew Fisher
aba6280a49 Add Solaris support to MySQL module 2015-06-25 09:33:56 -06:00
JT (Jonny)
545f0a591f Merge pull request #728 from timogoebel/fix_nil_object_future_parser
fix Evaluation Error with future parser
2015-06-25 15:23:15 +01:00
Timo Goebel
7ea4a748c2 fix Evaluation Error with future parser 2015-06-23 19:04:39 +02:00
Morgan Haskel
c095230b9e Merge pull request #727 from cyberious/InstallNameRefacter
(maint) Package was renamed in server::install  - As a result of rename several underlying dependencies broke   this is to update the require dependencies
2015-06-19 11:13:41 -07:00
Travis Fields
ac6ae7140e (maint) Package was renamed in server::install
- As a result of rename several underlying dependencies broke
  this is to update the require dependencies
2015-06-18 13:55:22 -07:00
Bryan Jen
e7f3f46640 Merge pull request #726 from DavidS/fix-acceptance-tests
spec_helper_acceptance: Remove conflicting yum install
2015-06-18 12:20:43 -07:00
David Schmitt
097efe2d41 spec_helper_acceptance: Remove conflicting yum install
puppetlabs-release is not required anymore. run_puppet_install_helper
takes care of all that.
2015-06-18 12:13:55 +01:00
Bryan Jen
5820093100 Merge pull request #725 from hunner/add_helper
Add helper to install puppet/pe/puppet-agent
2015-06-15 10:28:49 -07:00
Hunter Haugen
53257df16f Add helper to install puppet/pe/puppet-agent 2015-06-11 16:14:06 -07:00
Morgan Haskel
2a9ff96e02 Merge pull request #724 from justinstoller/maint/master/set-puppet-version
(maint) allow setting PUPPET_VERSION in acceptance
2015-06-09 15:03:10 -07:00
Justin Stoller
5185d3d360 (maint) allow setting PUPPET_VERSION in acceptance 2015-06-08 22:22:26 -07:00
Igor Galić
837c21b963 length check for usernames should take mysql version into consideration
Starting MariaDB 10.0.0, usernames are now 80 long.
Our mysql_user and mysql_grant types now take that into consideration.

This check is *opportunistic*. It will only take place if the
mysql_version fact is available. If that is not the case, it will be
skipped, leaving the database itself to deal with it, and returning its
error verbatim to our users, if it does fail.

Our fixed and extended tests assume this isn't the first run, and the
fact is already in place.
2015-05-29 14:13:39 +02:00
Igor Galić
5f76233b7f Merge pull request #719 from enovance/package_dependency
(MODULES-2077) Fixes wrong dependency variable
2015-05-27 20:51:21 +02:00
Hunter Haugen
9215c5d06d Add ability to unittest puppet 4 2015-05-27 08:13:19 -07:00
Yanis Guenane
29788fb4c4 (MODULES-2077) Fixes wrong dependency variable
Currently the package dependency relies on the service name when it
should be relying on the package name.
2015-05-27 17:05:38 +02:00
Igor Galić
31f0c4f1b1 Merge pull request #718 from igalic/slalomzacharyd-fixed-for-mariadb
Fixed server package name so it isn't hardcoded to mysql
2015-05-27 13:37:21 +02:00
Zachary Dovel
4bab65edcb Fixed server package name so it isn't hardcoded to mysql 2015-05-27 13:27:17 +02:00
Bryan Jen
18e45a0d8f Merge pull request #717 from puppetlabs/3.4.x
3.4.0 back to master
2015-05-21 08:35:05 -07:00
JT (Jonny)
3ec3d79073 Merge pull request #715 from jbondpdx/3.4.x
DOCS: minor edits to mysql readme
2015-05-19 19:15:07 +01:00
jbondpdx
4cd07c0cd4 DOCS: minor edits to mysql readme 2015-05-19 10:51:00 -07:00
Jonathan Tripathy
609a8d0ec2 3.4.0 Release Prep 2015-05-19 18:00:45 +01:00
Igor Galić
6572601d63 Merge pull request #712 from jewjitsu/freebsddefaults
update to proper defaults for freebsd
2015-05-14 09:06:47 +02:00