Commit graph

734 commits

Author SHA1 Message Date
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
Morgan Haskel
dec2af67b8 MariaDB still uses my.cnf as the main config file. 2014-05-09 15:10:27 -04:00
Morgan Haskel
7c16c52ef4 Try to add some checks so the test doesn't do an rm -rf / 2014-05-09 13:58:46 -04:00
Morgan Haskel
a6bacbd144 Fix backup test, install bzip2. 2014-05-09 13:05:00 -04:00
mhaskel
f70c81c2d0 Merge pull request #507 from apenney/fix-1404
Improve this so it works on Ubuntu 14.04.
2014-05-02 10:55:39 -07:00
Ashley Penney
81a1a19f24 Improve this so it works on Ubuntu 14.04. 2014-05-02 19:52:05 +02:00
Hunter Haugen
467017a3de Merge pull request #503 from apenney/remove-rspec-system
Remove all rspec-system traces.
2014-04-24 13:06:40 -07:00
Ashley Penney
7f4c067350 Remove all rspec-system traces. 2014-04-24 22:05:43 +02:00
Igor Galić
aa82f83ace Merge pull request #500 from nerdlich/patch-1
User needs PROCESS privilege when doing file-per-database backup
2014-04-22 14:22:54 +02:00
nerdlich
b40865d740 Backup user needs PROCESS privilege when doing file-per-database backups
The following error occured:
mysqldump: Couldn't execute 'SELECT /*!40001 SQL_NO_CACHE */ * FROM `INNODB_BUFFER_PAGE`': Access denied; you need (at least one of) the PROCESS privilege(s) for this operation (1227)
2014-04-22 13:08:58 +02:00
Igor Galić
09c63fb3ac Merge pull request #502 from igalic/osrelease
fix spec tests, by adding osrelease facts
2014-04-22 12:39:25 +02:00
Igor Galić
50612ab6ff fix spec tests, by adding osrelease facts 2014-04-22 12:38:29 +02:00
Igor Galić
6736fb8a7b Merge pull request #501 from ryansechrest/patch-1
Replaced database_user with mysql_user
2014-04-22 08:31:34 +02:00