Commit graph

1272 commits

Author SHA1 Message Date
Morgan Haskel
542c43eda5 Improved user validation and munging
We want to make sure we are validating the entire user parameter (and
validating it consistently between mysql_user and mysql_grant).
Additionally, for munging we do not want to do anything that could
truncate the username.
2015-09-17 17:29:00 -07:00
Morgan Haskel
1d82477723 Merge pull request #756 from bmjen/3.6.1_prep
3.6.1 prep
2015-09-08 11:06:18 -07:00
Bryan Jen
f63b7d1f25 updates to 3.6.1 prep 2015-09-08 09:35:30 -07:00
Hunter Haugen
58bb3b92d8 Merge pull request #755 from mhaskel/3.6.1-prep
3.6.1 prep
2015-08-31 16:46:30 -07:00
Morgan Haskel
f4b49f2c35 3.6.1 prep 2015-08-31 16:44:03 -07:00
Hunter Haugen
daa4b62582 Merge pull request #754 from mhaskel/ff_to_master
Fast-forward 3.6.x to master
2015-08-31 16:25:46 -07:00
Morgan Haskel
d6bdd4cb3e Compatibility with PE 3.3
Add workarounds to ENTERPRISE-258 and update metadata accordingly.
2015-08-31 16:14:13 -07:00
Christoph Fiehe
9d5816ad5c Fixes improper use of function 'warn' in backup manifest of server.
Have a look to the following sites:
https://ask.puppetlabs.com/question/13288/whats-the-difference-between-warn-and-warning/
https://docs.puppetlabs.com/puppet/latest/reference/lang_conditional.html?_ga=1.41504802.1433359326.1439356343
2015-08-31 16:14:13 -07:00
Bryan Jen
8b365689ca Merge pull request #753 from mhaskel/compat_with_pe_3.3
Compatibility with PE 3.3
2015-08-31 15:33:28 -07:00
Morgan Haskel
3e8e0320cf Compatibility with PE 3.3
Add workarounds to ENTERPRISE-258 and update metadata accordingly.
2015-08-31 14:49:24 -07:00
David Schmitt
2fd0b9cec4 Merge pull request #749 from Herr-Herner/fixImproperUseOfFctWarn
Fixes improper use of function 'warn' in backup manifest of server.
2015-08-28 16:09:07 +01:00
Morgan Haskel
7681c1363a Merge pull request #750 from puppetlabs/3.6.x
Mergeback 3.6.x
2015-08-12 14:33:30 -07:00
Christoph Fiehe
ff4ce8c5d4 Fixes improper use of function 'warn' in backup manifest of server.
Have a look to the following sites:
https://ask.puppetlabs.com/question/13288/whats-the-difference-between-warn-and-warning/
https://docs.puppetlabs.com/puppet/latest/reference/lang_conditional.html?_ga=1.41504802.1433359326.1439356343
2015-08-12 07:30:42 +02:00
Hunter Haugen
afc1567396 Merge pull request #748 from jbondpdx/3.6.x
DOCS: minor tuneups on README
2015-08-11 11:27:27 -07:00
jbondpdx
bfcba98859 DOCS: minor tuneups on README 2015-08-11 11:21:46 -07:00
Bryan Jen
8dae90d0fa Merge pull request #747 from hunner/prep_3.6.0
Prep 3.6.0
2015-08-10 15:45:53 -07:00
Hunter Haugen
f1f47f4311 Prep 3.6.0 2015-08-10 15:09:24 -07:00
Morgan Haskel
5f17b94026 Merge pull request #746 from hunner/fix_dep
(PUP-5021) depend on package title, not name
2015-08-10 14:36:26 -07:00
Hunter Haugen
603a02d118 (PUP-5021) depend on package title, not name 2015-08-10 14:03:49 -07:00
JT (Jonny)
ced1a08c34 Merge pull request #682 from eems-leo/process-secret-file
Remove default install root password if set
2015-08-06 15:14:19 +01:00
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