Commit graph

748 commits

Author SHA1 Message Date
Colleen Murphy
0d74fb67f5 Synchronize .travis.yml 2014-06-27 10:55:05 -07:00
Colleen Murphy
66e3d2b52c Sync files 2014-06-25 17:23:29 -07:00
Colleen Murphy
f684e8a1f0 Add configuration file for modulesync
https://github.com/puppetlabs/modulesync
2014-06-25 16:15:14 -07:00
Igor Galić
f6e427c730 Merge pull request #530 from spil-jaak/bug/master/ignore_users_wo_grants_when_granting
Change grant provider to ignore grants for non existing users.
2014-06-17 13:54:30 +02:00
Jaakko
3cfbb581cc Change grant provider to ignore grants for non existing users.
In the grant provider users are fetched by querying mysql.user table. Grants
for those users are fetched using show grants for... syntax. This can lead to
errors, when some of the users in mysql.user table do not have currently
active grants.

This happens at least when MySQL is started with --skip-name-resolve option,
when there are users with the hostname part specified as a FQDN. Such users are
created by mysql_install_db. This leads to problems if mysql::account_security
is included for the node and skip-name-resolve is specified in override_options
hash for mysql::server.

Includes acceptance test for the change.
2014-06-17 13:07:56 +02:00
Igor Galić
4f4c68767e Merge pull request #528 from spil-jaak/bug/master/fix_bindings_acceptance_test
Fix acceptance test for mysql::bindings.
2014-06-13 14:26:39 +02:00
Jaakko
16002dfe09 Fix acceptance test for mysql::bindings.
Fix acceptance test for bindings to use correct parameter names, when
instantiating mysql::bindings class. Fix client and server dev package names
for couple of distros.
2014-06-11 18:01:16 +02:00
Igor Galić
517c872c4a Merge pull request #531 from igalic/ignore
ignore .bundle configuration directory
2014-06-11 13:55:25 +02:00
Igor Galić
8b47859ba6 ignore .bundle configuration directory 2014-06-11 13:54:10 +02:00
Igor Galić
7b16b126c8 Merge pull request #526 from spil-jaak/bug/master/quote_fixing
(MODULES-1096) Fix double quote / single quote issue in params.pp.
2014-06-06 16:10:38 +02:00
Jaakko
96a64a9793 (MODULES-1096) Fix double quote / single quote issue in params.pp.
To follow style guide advice
(http://docs.puppetlabs.com/guides/style_guide.html#quoting) and make
puppet-lint happy, manifests should only use double quotes with strings that
contain variables.

This commit fixes the lone exception to this rule.
2014-06-06 11:48:56 +02:00
Ashley Penney
3c2522dbc3 Merge pull request #496 from apenney/fix-up-gemfile
Allow rspec-beaker to update.
2014-06-05 13:08:21 -04:00
Ashley Penney
d884e2fc1e Merge pull request #522 from cmurphy/fix_mysql_grant_MODULES-1040
Require title of mysql_grant resource to match form user/table
2014-06-05 13:07:40 -04:00
Igor Galić
b3ecc7bdc2 Merge pull request #523 from davidmmiller/fix/bug/MODULES-723
fix param client_package_ensure
2014-06-05 12:22:34 +02:00
Igor Galić
357ad7652f Merge pull request #499 from digitalyuki/fix-example-docs
Fix example docs
2014-06-05 12:21:58 +02:00
Igor Galić
b39ebdcf74 Merge pull request #505 from larsks/bz/1093367
lowercase hostname values in qualified usernames
2014-06-05 12:17:04 +02:00
Colleen Murphy
07b661dcea Require title of mysql_grant resource to match form user/table
This addresses https://tickets.puppetlabs.com/browse/MODULES-1040.
The user parameter is required to have the form username@host. A grant
is identified in the instances method by a name of the form
username@host/table. The resource will fail to be identified as already
existing if the name given to the resource does not match this form.
2014-06-04 10:44:36 -07:00
David Miller
18df1d08e5 fix param client_package_ensure 2014-06-04 10:45:46 -04:00
digitalyuki
5239950da8 Edited examples in documentation to reflect actual usage of hashed parameters
Edited the puppet markup

Made changes as suggested, with one-liner comment added to refer to Overrides for examples of the hash structure
2014-06-04 10:31:02 -04:00
Lars Kellogg-Stedman
0afb8f09e8 lowercase hostname values in qualified usernames
MySQL/MariaDB automatically downcase hostnames:

  MariaDB [mysql]> create user 'testuser'@'HOSTNAME';
  MariaDB [mysql]> select user,host from user where host = 'hostname';
  +----------+----------+
  | user     | host     |
  +----------+----------+
  | testuser | hostname |
  +----------+----------+

This causes problems when a mysql_user or datbase_user has an hostname
with non-lowercase characters:

  database_user { "root@HOSTNAME":
    ensure => absent,
  }

The SELECT statements used to determine if the user exists will fail
because the comparisons use "HOSTNAME" but the database has "hostname".
This patch forces the hostname part of "user@hostname" to lower case in
the custom type definitions.
2014-06-04 09:30:45 -04:00
Igor Galić
50ff0a9944 Merge pull request #524 from blkperl/be_truthy_rspec
RSpec renamed be_true to be_truthy in 3.0
2014-06-04 12:14:28 +02:00
William Van Hevelingen
669466c315 RSpec renamed be_true to be_truthy in 3.0
This commits updates the spec tests to use the renamed function.
2014-06-03 23:31:19 -07:00
Igor Galić
6769677e74 Merge pull request #510 from Aethylred/dev_libs
Install MySQL client and daemon dev libraries.
2014-06-03 06:34:43 +02:00
Ashley Penney
4375d76c09 Merge pull request #521 from apenney/fix-eq-tests
Fix test so it doesn't fail on deprecation warnings.
2014-05-29 14:49:26 -04:00
Ashley Penney
8f73cfcce0 Fix test so it doesn't fail on deprecation warnings. 2014-05-29 14:49:00 -04:00
Ashley Penney
5f86105e6a Merge pull request #519 from apenney/fix-test
Fix a syntax error in one of the tests.
2014-05-21 11:40:05 -07:00
Ashley Penney
f5a09f6cb9 Fix a syntax error in one of the tests. 2014-05-21 11:24:33 -07:00
Aaron Hicks
b2090194f5 Install MySQL client and daemon dev libraries. 2014-05-19 09:41:25 +12:00
Morgan Haskel
c57600e4f0 Merge pull request #516 from apenney/fix-platforms
Add RHEL7 and Ubuntu 14.04.
2014-05-13 16:21:56 -04:00
Ashley Penney
f0ebd22da6 Add RHEL7 and Ubuntu 14.04. 2014-05-13 22:20:40 +02:00
Ashley Penney
4fe4a5d544 Merge pull request #515 from mhaskel/rhel5-fixes
Fixes to get tests running on RHEL5.
2014-05-13 14:41:42 -04:00
Morgan Haskel
3871ca4206 Fixes to get tests running on RHEL5.
Existing EPEL addition in spec_helper_acceptance wasn't actually working, so pulled in stahnma-epel and applied that in the bindings test, since that's the only place it's actually required.
2014-05-12 12:32:20 -04:00
Ashley Penney
35620437cf Merge pull request #514 from mhaskel/merge-2.2.x
Merge 2.2.x
2014-05-09 17:20:47 -04:00
Morgan Haskel
d8a5043cc7 Fix the path for the hiera file. 2014-05-09 17:15:09 -04:00
Ashley Penney
1008538787 Prepare a 2.2.3 supported release. 2014-05-09 16:53:12 -04:00
Ashley Penney
b719956252 Replace the symlink with the actual file to resolve a PMT issue. 2014-05-09 16:53:12 -04:00
Hunter Haugen
060315c083 Patch metadata 2014-05-09 16:53:12 -04:00
Hunter Haugen
551b14473d Supported Release 2.2.2
Summary
=======
This is a supported release. Mostly comprised of enhanced testing, plus
a
bugfix for Suse.

Bugfixes
--------
- PHP bindings on Suse
- Test fixes

Known Bugs
----------
* No known bugs
2014-05-09 16:53:11 -04:00
Ashley Penney
9305f10a63 Prepare metadata for supported modules. 2014-05-09 16:53:11 -04:00
Lauren Rother
dc2ed90682 Adds "Release Notes/Known Bugs" to Changelog, updates file format to markdown, standardizes the format of previous entries
Per a request to have initial release notes that specifically listed known issues for this PE 3.2 release, and barred by time constraints from automating a pull from open issues in JIRA, this commit adds a Release Note and Known Bug section to the Changelog for the imminent 3.2 release. As it will display on the Forge, updates file type to markdown and standardizes previous entries. Adds template for release notes to be filled in later.
2014-05-09 16:53:11 -04:00
Ashley Penney
1999625fe2 Missed a couple of tests to gate off for unsupported platforms. 2014-05-09 16:53:11 -04:00
Ashley Penney
2bf1759f76 Fix hiera.yaml creation on PE. 2014-05-09 16:53:11 -04:00
Ashley Penney
4b1b28acc3 Merge pull request #513 from mhaskel/ubuntu-1404-again
Change the package name in the manifest, too!
2014-05-09 16:52:39 -04:00
Morgan Haskel
6151590caf Change the package name in the manifest, too! 2014-05-09 16:46:03 -04:00
Ashley Penney
9d1f437234 Merge pull request #512 from mhaskel/ubuntu-1404
Package rename in Ubuntu 14.04.
2014-05-09 16:42:09 -04:00
Morgan Haskel
c57c762810 Package rename in Ubuntu 14.04. 2014-05-09 16:39:10 -04:00
Ashley Penney
70f6fc5a75 Merge pull request #511 from mhaskel/rhel7-fixes
Rhel7 fixes
2014-05-09 16:31:40 -04:00
Morgan Haskel
625cdf0e9f Allow the tests to run on RHEL7. 2014-05-09 15:54:08 -04:00
Morgan Haskel
bb4640d64a Change package/service for MariaDB. 2014-05-09 15:35:16 -04:00
Morgan Haskel
ad5381d67a Fix to install ruby-mysql from gem. 2014-05-09 15:11:57 -04:00