Reinhard Vicinus
9fe85340f4
removed erroneous dependencies
2016-04-08 16:55:57 +02:00
TP Honey
2069c8959a
Merge pull request #817 from DavidS/install-staging-acceptance
...
(maint) Add missing nanliu/staging module
2016-04-05 15:37:05 +01:00
David Schmitt
9aadcebb1b
(maint) Add missing nanliu/staging module
...
The module is not really used, but its absence creates nasty warning
messages.
2016-04-05 14:52:29 +01:00
Igor Galić
9501649234
Merge pull request #815 from puppetlabs/remove_function
...
Remove mysql_table_exists() function
2016-03-29 16:18:42 +02:00
Igor Galić
b41dc6f4b3
Merge pull request #813 from tomkrouper/config-before-install
...
Config before install
2016-03-29 16:16:11 +02:00
Bryan Jen
906f99e1c1
Merge pull request #811 from pashamesh/fix-mysqlbackup-globals-ignored
...
Fixed global parameters skipped
2016-03-28 12:39:50 -07:00
Hunter Haugen
f4fe313e65
Remove mysql_table_exists() function
...
This function is intended to check for the existence of a table before
declaring some resource, but this is neither portable (because functions
orun on the master, not the agent) nor one-run idempotent (because the
function would run before mysql is even installed, and would take two
runs to do anything).
The correct way of doing this would be to update the providers and
dependency ordering to handle the conditional states.
Luckily this was never released so it is backwards compatible.
2016-03-28 10:48:58 -07:00
Bryan Jen
2ff7b3dbe2
Merge pull request #816 from hunner/fix_dump
...
Allow mysql::backup::mysqldump to access root_group in tests
2016-03-28 10:44:54 -07:00
Hunter Haugen
d8206aa4ec
Allow mysql::backup::mysqldump to access root_group in tests
2016-03-25 15:31:15 -07:00
Tom Krouper
8b366fe7df
Move config install before package install
...
This prevents mysqld from running without its intended configuration.
2016-03-25 09:01:31 -07:00
Bryan Jen
1835ea8f25
Merge pull request #812 from koubas/fix_debian_mariadb_detection
...
Loosen MariaDB recognition to fix it on Debian 8
2016-03-21 15:52:11 -07:00
Jakub Husak
1a67c3868b
Loosen MariaDB recognition to fix it on Debian 8
2016-03-18 16:26:48 +01:00
Pasha MESH
8a38fe9bd0
Fixed global parameters skipped
...
Fixed problem with ignoring parameters from global configs
2016-03-17 19:32:39 +03:00
Igor Galić
d58a100fa6
Merge pull request #810 from occelebi/backupdir
...
Ensure backup directory exist
2016-03-14 20:58:16 +01:00
Onur Cem Celebi
1bd7b7be83
Ensure backup directory exist
2016-03-14 16:44:43 +01:00
Hunter Haugen
9d611106bb
Merge pull request #808 from mmalchuk/master
...
Use mysql_install_db only with uniq defaults-extra-file
2016-03-11 13:39:30 -08:00
Maksim Malchuk
61619f69fc
Use mysql_install_db only with uniq defaults-extra-file
...
Executing mysql_install_db with the defaults-extra-file set to the
global option file can produce errors with duplicates. For example it
happens when 'ignore-db-dir' option passed to $override_options in
mysql::server class. Same as https://bugs.mysql.com/bug.php?id=69441
2016-03-11 22:24:55 +03:00
Bryan Jen
a3d0de3e05
Merge pull request #805 from jbondpdx/master
...
FM-3333: moved a puppet
2016-03-03 18:22:09 -07:00
jbondpdx
35b5f1c6c5
FM-3333: moved a puppet
2016-03-03 17:19:12 -08:00
Hunter Haugen
cd7c912ea6
Merge pull request #804 from jbondpdx/master
...
FM-3333: tuning up mysql readme
2016-03-03 16:35:50 -08:00
jbondpdx
f06e1264cd
FM-3333: tuning up mysql readme
...
now with more puppets
2016-03-03 16:32:41 -08:00
TP Honey
a2044354f4
Merge pull request #801 from holser/my_cnf
...
Generate .my.cnf for all sections
2016-02-19 15:26:31 +00:00
Sergii Golovatiuk
4faa3f12ee
Generate .my.cnf for all sections
...
MySQL ecosystem has a lot of tools that use .my.cnf such as mysqldump or
mysqladmin. Generating all sections allows operator to use them under
root account without passing -p<password>
2016-02-18 11:48:16 +01:00
Helen
7a92634f69
Merge pull request #800 from DavidS/debian-8-support
...
Update metadata to note Debian 8 support
2016-02-17 12:14:52 +00:00
David Schmitt
37abc3a395
Update metadata to note Debian 8 support
2016-02-17 11:59:09 +00:00
Hunter Haugen
d79579988c
Merge pull request #799 from DavidS/fm-4046-update-msync
...
(FM-4046) Update to current msync configs [006831f]
2016-02-16 12:02:12 -08:00
David Schmitt
f99a3fa78e
(FM-4046) Update to current msync configs [006831f]
...
This moves all copyright statements to the NOTICE file in accordance with the ASFs guidelines on applying the Apache-2.0 license.
2016-02-16 16:33:44 +00:00
Helen
e6c3f53079
Merge pull request #797 from mmoll/xenial
...
mark Ubuntu xenial as supported
2016-02-11 15:22:58 +00:00
Michael Moll
05ba436b0a
mark Ubuntu xenial as supported
2016-02-07 02:05:28 +01:00
Bryan Jen
6598be8eed
Merge pull request #796 from jhriggs/ticket/3028-fix_grants_with_ANSI_QUOTES
...
(#3028 ) Fix mysql_grant with MySQL ANSI_QUOTES mode
2016-02-04 18:01:08 -07:00
Jim Riggs
31c17b0484
( #3028 ) Fix mysql_grant with MySQL ANSI_QUOTES mode
...
Change mysql_grant provider to ignore/delete double-quotes -- as it does with single quotes and backticks -- in the returned list of existing grants. With ANSI_QUOTES enabled in MySQL's sql_mode, grant identifiers (e.g. database name) are quoted with double-quotes rather than backticks, for example "foo".* vs. `foo`.*. This breaks mysql_grant's evaluation of existing grants and causes it to apply grants with every run.
2016-02-03 08:21:07 -06:00
Hunter Haugen
aa29170f5b
Merge pull request #795 from DavidS/fm-4049-update-msync
...
(FM-4049) update to modulesync_configs
2016-01-27 08:36:19 -08:00
David Schmitt
7889a85d37
(FM-4049) Update to current msync configs [2c99161]
2016-01-27 14:44:53 +00:00
TP Honey
bc1c44afa4
Merge pull request #794 from DavidS/fm-4563-share-tmpdir
...
(FM-4563) fix tmpdir to be shared across examples
2016-01-19 11:40:53 +00:00
David Schmitt
95841d3a8c
(FM-4563) fix tmpdir to be shared across examples
2016-01-19 10:45:25 +00:00
TP Honey
ecff1f3dd3
Merge pull request #793 from DavidS/fm-4563-workaround-pup-5016
...
(FM-4563) workaround PUP-5016
2016-01-18 17:27:35 +00:00
David Schmitt
d89062faff
(FM-4563) skip idempotency tests on test cells that do have PUP-5016 unfixed
...
Arguably this decision should be extracted to a more central place,
like puppetlabs_spec_helper or the CI config.
2016-01-18 15:15:52 +00:00
David Schmitt
2de4597ecd
(maint) refactor main acceptance suite
...
This reduces duplication of testing code and makes the intent of the tests
clearer.
2016-01-18 15:15:32 +00:00
David Schmitt
a261a3d493
(maint) fix logic for choosing rspec version
...
Depending on the ruby version, we either need 3.1.7 to support ruby 1.8,
but since (at least) ruby 2.2 a newer version of rspec is required.
2016-01-18 12:19:21 +00:00
Igor Galić
23672ca326
Merge pull request #779 from jmcclell/patch-1
...
Fixes edge-case with dropping pre-existing users with grants
2016-01-15 16:00:31 +01:00
Jason McClellan (dsc)
1bad8ae56a
Fixes edge-case with dropping pre-existing users with grants
...
If a user exists in the database upon first Puppet run (for example, in the case of loading a database snapshot) and the run sets that user's :ensure attribute to 'absent', the mysql_grant provider will throw an error when the dependency chain causes it to try to destroy the grants associated with that user because the DROP statement from the mysql_user provider already removed the grants. To fix, we must check if the user exists before revoking the grants.
2016-01-15 08:14:12 -05:00
Igor Galić
0b3e310ba7
Merge pull request #791 from roidelapluie/empty-string-as-parameter
...
Re-Add the ability to set a empty string as option parameter
2016-01-11 12:20:57 +01:00
Julien Pivotto
e30e0bc958
Re-Add the ability to set a empty string as option parameter
...
Prior to 136b1aa646
it was possible to
have an empty string as value of a my.cnf parameter, resulting in a line
with just the parameter name.
That commit re-enable that behavior that was removed by accident.
2016-01-08 14:00:31 +01:00
David Schmitt
1cfddec3ff
Merge pull request #790 from cadeauthom/service-unmanaged
...
Move all dependencies to not have them in case of service unmanaged
2016-01-08 10:35:16 +00:00
Thomas Cadeau
b33f9c663e
Move all dependencies to not have them in case of service unmanaged
2016-01-07 19:40:19 +01:00
Igor Galić
5e7b999615
Merge pull request #784 from vicinus/master
...
ensure if service restart to wait till mysql is up
2015-12-21 12:52:04 +01:00
Vicinus, Reinhard
3a49209a6f
ensure if service restart to wait till mysql is up
2015-12-19 20:43:49 +01:00
Jesse Lovelace
58a55ade47
Merge pull request #789 from elconas/fix_mysql576_pull_rebase3
...
(MODULES-2676) Fixed new mysql_datadir provider on CentOS for MySQl 5.7.6 compatibility
2015-12-18 09:57:11 -06:00
Robert Heinzmann
7efc93c3c5
Fixed new mysql_datadir provider on CentOS for MySQl 5.7.6 compatibility
2015-12-17 18:31:17 +01:00
Igor Galić
45419fde6d
Merge pull request #787 from obi11235/master
...
Fixing error when disabling service management and the service does not exist
2015-12-15 17:28:09 +01:00