David Schmitt
6527a3aa22
(MAINT) switch to rspec-puppet-facts
...
Switching out the puppet version, as puppet_facts does, does not work,
as this will confuse code that wants to use version-dependent features.
Instead this uses rspec-puppet-facts, which doesn't touch the puppet
version.
2015-10-13 11:29:42 +01:00
Hunter Haugen
5e6db0bb0f
Merge pull request #768 from DavidS/modules-2490-fix-daemon_dev_package_name-mariadb
...
(MODULES-2490) correct the daemon_dev_package_name for mariadb on redhat
2015-10-12 11:10:35 -07:00
David Schmitt
ad204cb622
(MODULES-2490) correct the daemon_dev_package_name for mariadb on redhat
2015-10-12 17:59:06 +01:00
Igor Galić
2a8693482f
Merge pull request #760 from roman-mueller/MODULES/2650_add_support_for_authentication_string
...
MODULES-2650 Add support for renamed password column
2015-10-01 13:52:36 +02:00
Roman Mueller
afddc3ff7b
Fix fetching the mysql_user password for MySQL >=5.7.6
...
The password column has been renamed to authentication_string in MySQL >=5.7.6.
By using: SELECT /*!50706 AUTHENTICATION_STRING AS */ PASSWORD the query will
continue to work in older versions as well as newer ones.
2015-09-30 18:55:26 +02:00
Hunter Haugen
1823c7cd64
Merge pull request #759 from mhaskel/merge_3.6.x
...
Merge 3.6.x
2015-09-24 11:45:31 -07:00
Morgan Haskel
e1f4b83226
Update changelog
2015-09-24 11:35:14 -07:00
Morgan Haskel
97b8200a5f
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-24 11:35:14 -07:00
Bryan Jen
57956783fa
updates to 3.6.1 prep
2015-09-24 11:35:14 -07:00
Morgan Haskel
1f575065b3
3.6.1 prep
2015-09-24 11:35:14 -07:00
Igor Galić
c17c46552b
Merge pull request #751 from mcanevet/patch-1
...
Fix when not managing config file
2015-09-22 15:07:27 +02:00
Mickaël Canévet
6228846ae0
Fix when not managing config file
...
This code have been remove here 4bab65edcb (diff-0938042fe2382aeb10032aa7f8444995)
but it is required otherwise we get an `Evaluation Error: Unknown variable: 'install_db_args'.` when using `manage_config_file = false`
2015-09-22 14:28:15 +02: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