Commit graph

292 commits

Author SHA1 Message Date
Lebedev Vadim
b07c67ec18 Merge branch 'master' of https://github.com/puppetlabs/puppetlabs-mysql 2013-06-10 16:36:41 +04:00
Hunter Haugen
efb7a6ee90 Merge pull request #185 from ChrisRut/master
fix variables in templates
2013-05-28 12:18:42 -07:00
Chris Rutter
6194354a7b use of variables w/ out a '@' has been deprecated, and as of 3.2.x Puppet warns about it 2013-05-24 10:01:52 -04:00
Lebedev Vadim
1a13580f49 Merge branch 'master' of https://github.com/puppetlabs/puppetlabs-mysql
Conflicts:
	manifests/config.pp
	manifests/params.pp
2013-05-21 20:40:50 +04:00
Lebedev Vadim
a171c52a89 * Puppet 2.6 fix 2013-05-21 01:21:38 +04:00
Hunter Haugen
2fafc3301c Merge pull request #178 from wolfspyre/master
python_package_name parameter missing
2013-05-03 15:33:37 -07:00
Wolf Noble
cf78bea206 minor fix to alphabetization of package_ensure parameter 2013-05-03 17:06:06 -05:00
Wolf Noble
569448c0a6 Fix missing python_package_name parameter 2013-05-03 17:00:52 -05:00
Dan Bode
d8fbc283e0 Merge pull request #171 from ctrlaltdel/fix-default-storage-engine
[Important] Fix default-storage-engine default value
2013-04-28 13:11:30 -07:00
Francois Deppierraz
a555848e7d Test to avoid broken default-storage-engine settings 2013-04-26 00:30:09 +02:00
Francois Deppierraz
391abe753f Fix default-storage-engine default value
Without this commit, puppetlabs-mysql breaks mysql configuration by inserting a
dummy default-storage-engine directive. This will prevent mysql daemon from
starting up.

For example:

notice: /Stage[main]/Mysql::Config/File[/etc/mysql/my.cnf]/content:
--- /etc/mysql/my.cnf   2013-04-25 21:36:25.000000000 +0000
+++ /tmp/puppet-file20130425-12937-10tcf50-0    2013-04-25 21:42:49.000000000 +0000
@@ -29,6 +29,8 @@
 expire_logs_days   = 10
 max_binlog_size    = 100M

+default-storage-engine = undef
+

 [mysqldump]
2013-04-25 23:46:34 +02:00
Hunter Haugen
a42c9914e0 Merge pull request #169 from wolfspyre/master
Refactor to put a knob on all parameters
2013-04-25 11:14:41 -07:00
Wolf Noble
e65775cd3d Removal of trailing commas to the last parameter of classes for backwards compatibility with Puppet2.6 2013-04-24 17:02:46 -05:00
Wolf Noble
2deb2b2da3 Remove trailing comma to server.pp for 2.6 backwards compatibility. 2013-04-24 15:38:05 -05:00
Wolf Noble
78278f50b5 restore package_name parameter to maintain backward compatibility.
Removal of the ambiguously named package_name parameter, without having a version provide a deprecation warning for a reasonable amount of time seems unreasonable.
As Hunner suggests, adding a workaround variable to init.pp and use that as package name gives us the ability to warn users about the upcoming deprecation, while still maintaining backwards compatibility.
2013-04-24 15:35:08 -05:00
Wolf Noble
38a6954559 Fix to config.pp. Remove trailing , on last parameter, which breaks in puppet 2.6
Fix to config.pp. Remove trailing , on last parameter, which breaks in puppet 2.6
2013-04-24 15:14:19 -05:00
Wolf Noble
b79477d57d Out of scope of this refactor
we don't need these defines for this refactor. Removing for simplicity's sake
2013-04-16 13:45:07 -05:00
Wolf Noble
33e2a45000 Some minor fixes to appease puppet lint 2013-04-11 12:02:41 -05:00
Wolf Noble
0f6886bd99 Refactor of classes to put everything as a param to mysql to prepare for autoloading from hiera
put a handle on all the params of the class in init.pp so that they can be autoloaded from hiera, and easily fed to the class from a profile class
2013-04-09 13:45:55 -05:00
Lebedev Vadim
5ea8e5f920 * Adding server_idparameter to mysql::config`
* Adding `sql_log_bin` parameter to `mysql::config`
* Adding `log_bin` parameter to `mysql::config`
* Adding `max_binlog_size` parameter to `mysql::config`
* Adding `binlog_do_db` parameter to `mysql::config`
* Adding `expire_logs_days` parameter to `mysql::config`
* Adding `log_bin_trust_function_creators` parameter to `mysql::config`
* Adding `replicate_ignore_table` parameter to `mysql::config`
* Adding `replicate_wild_do_table` parameter to `mysql::config`
* Adding `replicate_wild_ignore_table` parameter to `mysql::config`
* Adding `expire_logs_days`  parameter to `mysql::params`
* Adding `max_binlog_size` parameter to `mysql::params`
2013-04-08 19:23:24 +04:00
Lebedev Vadim
2a1b1e7962 * Adding key_buffer parameter to mysql::config
* Adding `thread_stack` parameter to `mysql::config`
* Adding `thread_cache_size` parameter to `mysql::config`
* Adding `myisam-recover` parameter to `mysql::config`
* Adding `query_cache_limit` parameter to `mysql::config`
* Adding `query_cache_size` parameter to `mysql::config`
* Adding `max_connections` parameter to `mysql::config`
* Adding `tmp_table_size` parameter to `mysql::config`
* Adding `table_open_cache` parameter to `mysql::config`
* Adding `long_query_time` parameter to `mysql::config`
* Updating mysql_config spec tests
* Fixing lint warnings
2013-04-08 00:20:36 +04:00
Lebedev Vadim
e3b6de2da2 Implement character_set. You can change the default server and
client character set
2013-04-04 14:02:58 +04:00
Wolf Noble
43352709b2 Merge branch 'master' of git://github.com/puppetlabs/puppetlabs-mysql 2013-04-03 15:57:53 -05:00
Ken Barber
8000041e9f Merge pull request #163 from domcleal/pp26
Puppet 2.6 fix
2013-03-21 17:32:18 -07:00
Dominic Cleal
fabb06464a Add create_resources to fix Travis CI failure on Puppet 2.6 2013-03-22 00:01:52 +00:00
Dominic Cleal
3d1703fc7f Move hash outside of function call, fixes for Puppet 2.6 2013-03-21 23:59:27 +00:00
Ken Barber
1d10682423 Merge pull request #158 from ke4qqq/patch-1
Adding php bindings to readme
2013-03-03 13:02:55 -08:00
David Nalley
f6be079081 Adding php bindings to readme 2013-03-03 01:28:10 -05:00
Ken Barber
8eb71ccf23 Merge pull request #156 from mattr-/fix-mocha-warnings
fix mocha deprecation warnings
2013-03-01 05:56:33 -08:00
Matt Rogers
b42d4355f0 fix mocha deprecation warnings 2013-02-28 22:36:11 -06:00
Ken Barber
99f831e964 Merge pull request #155 from richardc/patch-1
Restrict the versions and add 3.1
2013-02-25 12:03:58 -08:00
Richard Clamp
58699e77ae Restrict the versions and add 3.1
'~> 2.6' will match 2.7.x.
2013-02-25 20:02:18 +00:00
Ken Barber
a0df349ff6 Merge pull request #154 from Paulche/master
Fix issue with redeclaration of database_user via mysql::db
2013-02-18 03:32:40 -08:00
Paul Chechetin
1d6ca771d4 Fix issue with twice declaration of Database_user resource 2013-02-18 15:24:57 +04:00
Paul Chechetin
90947afd2f Fix tests for Puppet 3.0 target 2013-02-18 15:03:18 +04:00
Ken Barber
ffc857d893 Merge pull request #152 from kronn/patch-1
Solve an edge-case of syntax highlighting in README.md
2013-02-14 14:14:59 -08:00
Matthias Viehweger
ba9c239295 Solve an edge-case of syntax highlighting in README.md
In my vim-setup, the underscore in `create_resources` leads to
rendering everything in italics after that. Wrapping it in backticks
solves this in the editor and also looks better when rendered as HTML.
2013-02-14 23:09:59 +01:00
Ken Barber
c429c0f091 Merge pull request #150 from camptocamp/master
Typo
2013-02-05 07:55:29 -08:00
François Deppierraz
3175030c7a Fix a typo in database_user.rb 2013-02-05 16:34:50 +01:00
Ken Barber
ec804ef715 Merge pull request #148 from blkperl/update_travis
Update travis config file
2013-02-02 17:32:46 -08:00
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