Commit graph

1302 commits

Author SHA1 Message Date
William Van Hevelingen
a3868bc65b Update travis config file
This commit standardizes the Gemfile and travis.yml to be similar
to the files in stdlib. Puppet 3 and ruby 1.9.3 are now added to
the matrix
2013-02-02 17:24:07 -08:00
Gary Larizza
c8f9880aea Merge pull request #142 from hunner/release_0.6.1
Release 0.6.1
2013-01-11 15:23:28 -08:00
Hunter Haugen
ccc39fa57c Release 0.6.1
* Fix providers when /root/.my.cnf is absent
2013-01-11 14:27:54 -08:00
Gary Larizza
c302efd409 Merge pull request #141 from hunner/optional_my.cnf
Patch providers for absent my.cnf
2013-01-11 13:34:12 -08:00
Hunter Haugen
6b9a5efc0a Add tests for absent /root/.my.cnf 2013-01-10 15:55:42 -08:00
Hunter Haugen
cea77802ac Updating specs for .my.cnf 2013-01-10 15:31:21 -08:00
Hunter Haugen
ca2b16c691 Patch providers for absent my.cnf
If the /root/.my.cnf file does not exist but is specified by the
`--defaults-file` argument, the mysql calls will fail. The
`mysql::config` class creates this file, but if the custom resources are
used without including our classes then it will still break.

This allows users to use our custom resources without having to use our
classes.
2013-01-10 15:31:21 -08:00
Matthaus Owens
612ba05ea4 Merge pull request #140 from hunner/release_0.6.0
2013-01-09 - Version 0.6.0
2013-01-09 14:46:11 -08:00
Hunter Haugen
56eca117c8 2013-01-09 - Version 0.6.0
* Add `mysql::server::config` define for specific config directives
* Add `mysql::php` class for php support
* Add `backupcompress` parameter to `mysql::backup`
* Add `restart` parameter to `mysql::config`
* Add `purge_conf_dir` parameter to `mysql::config`
* Add `manage_service` parameter to `mysql::server`
* Add syslog logging support via the `log_error` parameter
* Add initial SuSE support
* Fix remove non-localhost root user when fqdn != hostname
* Fix dependency in `mysql::server::monitor`
* Fix .my.cnf path for root user and root password
* Fix ipv6 support for users
* Fix / update various spec tests
* Fix typos
* Fix lint warnings
2013-01-09 13:41:34 -08:00
Hunter Haugen
3fbcf433b7 Merge pull request #136 from deadpoint/master
Added SuSE support to puppetlabs-mysql
2013-01-09 13:04:44 -08:00
Hunter Haugen
4af7950cb7 Merge pull request #133 from obilodeau/master
fixed character-set detection regex
2013-01-09 13:02:35 -08:00
Hunter Haugen
d5bf7a19f7 Merge pull request #131 from saz/recurse-conf-dir
add parameter to remove old files in conf.d dir
2013-01-09 13:01:13 -08:00
Hunter Haugen
893bbc824a Merge pull request #130 from saz/syslog-support
allow logging via syslog
2013-01-09 13:00:24 -08:00
Gary Larizza
5b4e9763c7 Merge pull request #137 from hunner/php_support
Add php support
2013-01-09 12:22:01 -08:00
Wolf Noble
cf396cbded create defined types for grant and user 2013-01-04 13:35:59 -06:00
Hunter Haugen
dc5ee12b7e Merge pull request #134 from nikolavp/patch-1
Update manifests/server/monitor.pp
2013-01-04 11:34:39 -08:00
Hunter Haugen
02c4da48a5 Add php support
PHP libraries are required by many apps. This class assumes 'normal'
names for these packages, but allows other packages names to be passed
for variances such as 'php53-mysql' on RedHat and FreeBSD.
2013-01-04 10:59:17 -08:00
Darin Perusich
0d0c52430b Added support for SuSE systems 2013-01-03 12:22:39 -05:00
Nikola Petrov
723a3affa1 Update manifests/server/monitor.pp
We are using this manifest file and it cannot find *Mysql_user* please change it to *Database_user*. I suppose that this was changed after a refactoring of some sort


Best, Nikola
2012-12-12 18:54:51 +02:00
Olivier Bilodeau
8510a41bb3 fixed character-set detection regex
Previous regex matched COLLATE value instead of CHARACTER SET. For
example:

> CREATE DATABASE `test` /*!40100 DEFAULT CHARACTER SET utf8 COLLATE utf8_bin */

Returned utf8_bin instead of utf8 causing an unfortunate database refresh in my
configuration. Fixed the regex by adding the optional presence of the COLLATE
keyword.
2012-12-11 12:56:57 -05:00
Steffen Zieger
c5a4740883 add parameter to remove old files in conf.d dir 2012-11-16 20:49:24 +01:00
Steffen Zieger
2e0cbb47ba allow logging via syslog 2012-11-16 20:37:14 +01:00
Dan Bode
af4b8bff0a Merge pull request #128 from bodepd/fix_account
account security should not fail if hostname == fqdn
2012-10-28 21:43:49 -07:00
Dan Bode
649bc16416 account security should not fail if hostname == fqdn
This commit checks that hostaname and fqdn are not
equal before trying to remove both.
2012-10-28 21:40:11 -07:00
Nan Liu
832783040a Merge pull request #127 from rcoleman/pluginsync_requirement
Mention pluginsync in README
2012-10-18 20:08:30 -07:00
Ryan Coleman
bf05db23fe Mention pluginsync in README
Pluginsync is required for this module to function properly. This
commit mentions that requirement and points at documentation on
how to enable pluginsync.
2012-10-18 19:53:18 -07:00
Ryan Coleman
3865afc90a Merge pull request #126 from bodepd/fix_regression
fix mysql bug
2012-10-15 08:33:25 -07:00
Dan Bode
d6b77170d5 fix mysql bug 2012-10-14 19:17:37 -07:00
Ryan Coleman
5a167c9eef Merge pull request #125 from bodepd/create_my_cnf
Create /root/.my.cnf even when root passwd is not managed
2012-10-13 10:14:23 -07:00
Ryan Coleman
bb4f15b8fe Merge pull request #117 from hunner/optional_compression
Mysql::backup Compression Optional
2012-10-13 10:09:55 -07:00
Dan Bode
765b5c2527 Create /root/.my.cnf even when root passwd is not managed
When the root password is not managed, it causes mysql to
fail b/c it does not create the /root/.my.cnf file (which causes
all mysql commands from the provider to fail)
2012-10-13 02:35:38 -07:00
Hunter Haugen
837e83980e Merge pull request #123 from hunner/root_credentials
Root credentials
2012-10-09 14:07:12 -07:00
Hunter Haugen
64d38890c6 Add mysql argument to use mysql database back 2012-10-09 14:02:05 -07:00
Hunter Haugen
24444ce119 Stub the $root_home fact 2012-10-09 14:00:09 -07:00
Nate Riffe
bdb416053a Use root's credentials when executing mysql.
This is necessary when running puppet as root using sudo because mysql
will still look in the user's home directory in that case unless told
otherwise.
2012-10-09 13:59:58 -07:00
Dan Bode
c84ffdeef0 Merge pull request #122 from hunner/optional_service
Optionally manage the mysqld service
2012-10-04 17:03:30 -07:00
Hunter Haugen
81889c9992 Adding specs for manage_service parameter 2012-10-04 16:27:06 -07:00
Hunter Haugen
c4e0e64782 Optionally manage the mysqld service
When using failover options such as Corosync, it's preferable to allow the failover software to manage the starting and stopping of the service. This parameter allows that to happen.
2012-10-04 16:20:07 -07:00
Hunter Haugen
df46407260 Merge pull request #119 from Savar/only_doc_fix
Only a simple documentation fix.
2012-10-03 10:19:05 -07:00
Simon Effenberg
612ee9884d Only a simple documentation fix. 2012-10-03 09:22:03 +02:00
Hunter Haugen
d212c87f0a Tweak template spacing to pass spec tests with clean output 2012-09-26 13:41:00 -07:00
Justin Brown
af30a52182 Backup Compression Optional
Added a parameter to mysql::backup to make bzip2 compression
optional. Compression is enabled by default, so current behavior
is not affected.

Rationale:
We are storing our MySQL backups on a system with deduplication.
Compression and dedup do not play well together, so it's advantagous
to be able to disable it.
2012-09-26 13:40:59 -07:00
Hunter Haugen
6a7d84369e Add spec tests for backup compression enabled/disabled 2012-09-26 13:40:59 -07:00
Hunter Haugen
b9e4b0aa2d Merge pull request #115 from frimik/restart_optional_and_minor_doc_fix
Restart optional and minor doc fix
2012-09-17 15:37:16 -07:00
Mikael Fridh
063b8c097c Minor rdoc fixes in mysql::config class 2012-09-08 12:12:27 +02:00
Mikael Fridh
af58059903 Make service restarts optional
Useful if you prefer to not have your mysql service touched after it is
running.
2012-09-08 12:09:44 +02:00
Hunter Haugen
d98efe3b7a Merge pull request #113 from janoszen/ipv6
IPv6
2012-09-05 11:01:12 -07:00
Dan Bode
88164421b6 Merge pull request #114 from dalen/immutable_variables
Don't assign to hash after creation
2012-09-05 07:57:46 -07:00
Erik Dalén
fa1915b2e5 Don't assign to hash after creation
We shouldn't modify a variable after creating it. It is just a bug that
it is possible at all.
2012-09-05 16:43:11 +02:00
Dan Bode
cab78236c5 Merge pull request #112 from hunner/fix_mysql_backup_spec
Update mysql::backup privs for #108
2012-09-05 07:38:47 -07:00