Commit graph

1289 commits

Author SHA1 Message Date
JT (Jonny)
b91630d7a3 Merge pull request #767 from jmk61/MODULES-2675
Fixes unique server_id within my.cnf Ticket/MODULES-2675
2015-10-27 14:52:34 +00:00
Igor Galić
87b7e4de9c Merge pull request #766 from DavidS/modules-2683-fix-root-password-hiding
(MODULES-2683) fix version compare to properly suppress show_diff for…
2015-10-14 13:12:08 +02:00
David Schmitt
5f49c45b2e (MODULES-2683) fix version compare to properly suppress show_diff for root password 2015-10-13 11:29:53 +01:00
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
Joseph Karns
96c9d6d9a7 Fixes unique server_id within my.cnf, The issue was that the entire mac address was not being read in to generate the id. 2015-10-12 12:36:39 -04: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
Morgan Haskel
d095721d70 Update changelog 2015-09-22 15:14:51 -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
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