Lebedev Vadim
6c81ea0d24
* Trying fix unit tests for Travis
2013-06-16 19:41:29 +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
Francois Deppierraz
a555848e7d
Test to avoid broken default-storage-engine settings
2013-04-26 00:30:09 +02: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
Matt Rogers
b42d4355f0
fix mocha deprecation warnings
2013-02-28 22:36:11 -06:00
Paul Chechetin
90947afd2f
Fix tests for Puppet 3.0 target
2013-02-18 15:03:18 +04: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
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
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
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
Hunter Haugen
81889c9992
Adding specs for manage_service parameter
2012-10-04 16:27:06 -07:00
Hunter Haugen
6a7d84369e
Add spec tests for backup compression enabled/disabled
2012-09-26 13:40:59 -07:00
Hunter Haugen
d98efe3b7a
Merge pull request #113 from janoszen/ipv6
...
IPv6
2012-09-05 11:01:12 -07:00
Janos Pasztor
e77576d8e7
Added spec for IPv6 changes as requested by upstream
2012-09-05 09:58:42 +02:00
Hunter Haugen
8b9f17348c
Update mysql::backup privs for #108
2012-09-04 17:04:26 -07:00
Hunter Haugen
0e4de09934
Merge pull request #93 from Savar/master
...
new config define and a small bugfix
2012-08-29 11:54:58 -07:00
Simon Effenberg
e47b4d19e7
fixed documentation and added rspec
...
* fixed a typo in the documentation
* added documentation for parameter +notify_service+
* added rspec test
2012-08-24 08:01:33 +02:00
Hunter Haugen
bfd19998d1
Merge pull request #101 from martasd/manage-db-status
...
Added an option to specify db status.
2012-08-22 11:30:46 -07:00
Eugene Kirpichov
6869b77541
Parameterized pidfile; critical for successful first restart
2012-08-21 18:32:34 -07:00
Martin Dluhos
04537908a9
Added an option to specify db status.
2012-08-21 15:40:42 -07:00
Michael Arnold
605fa718e1
Escape $root_password during execs.
...
Some characters used in a password can cause the shell in an exec to do
unexpected things unless the password is enclosed in single quotes.
Updated the rspec tests to deal with the password quoting.
2012-08-09 00:34:09 -07:00
Branan Purvine-Riley
5c4f14e386
Fix negative tests on rspec 2.11
2012-07-23 16:39:37 -07:00
Dan Bode
8b2b29a136
Add enabled parameter to mysql::server
...
This parameter can be used to specify whether the service
should be running.
It has been implemented to allow installations of mysql::server to
be in passive mode for HA.
2012-06-18 14:09:42 -07:00
Branan Purvine-Riley
62b395fe69
Switch to using the puppetlabs_spec_helper gem for common files
2012-05-31 15:32:36 -07:00
William Van Hevelingen
f572b90f9e
( #14330 ) Add FreeBSD spec tests
2012-05-30 19:12:57 -07:00
William Van Hevelingen
05d7e23fe8
( #14330 ) Add support for FreeBSD
...
Note: ssl_ca, ssl_cert, and ssl_key do not have sane
defaults in FreeBSD. Setting ssl to true will require
setting the parameters mentioned above.
2012-05-30 19:12:25 -07:00
Branan Purvine-Riley
703c0bde30
Update the module to the new layout for easier testing and packaging
...
* Add spec_full, spec_prep, and spec_clean targets
* Rename Gemfile -> .gemfile for less cluttered module packages
* Append fixtuers to modulepath instead of overwriting
* Use a more complete .gitignore
* Remove the recursive symlink
2012-05-24 16:55:22 -07:00
John Chilton
41be95e262
Add spec's to test setting default storage engine.
2012-05-15 12:42:32 -05:00
Dan Bode
360f8d968a
Merge pull request #64 from runningman/backup
...
Added mysql::backup class.
2012-05-10 22:44:52 -07:00
Dan Bode
ed62777045
Merge pull request #63 from runningman/security
...
Added mysql::server::account_security class.
2012-05-04 18:04:11 -07:00
Branan Purvine-Riley
6a81a2f687
( #14316 ) make privileges case-insensitive
2012-05-04 10:04:46 -07:00
Michael Arnold
c06f82eef7
Update privilege names to comply with 3fbb54de6c
.
...
Forgot to update the rspec test.
2012-05-03 19:58:25 -07:00
Branan Purvine-Riley
29cef3f71a
Add initial spec for mysql grant provider
2012-05-01 17:01:47 -07:00
Michael Stahnke
f750b39ad5
Merge pull request #61 from runningman/java
...
Java
2012-04-29 15:24:11 -07:00
François Charlier
64f367fbb4
Fix typos in mysql::server::monitor class
...
* fix the dependency declaration
+ add basic tests
2012-04-24 11:56:01 +02:00
Michael Arnold
7890f79547
Added mysql::server::account_security class.
...
Secures the MySQL installation by removing the test database and the
default users that are created during the MySQL first-run
(root@${fqdn}, @%, @localhost, etc.).
Includes rspec tests and updated documentation.
2012-04-23 23:41:12 -07:00
Michael Arnold
4158137278
Added mysql::backup class.
...
Installs a mysql backup script, cronjob, and priviledged backup user.
Includes rspec tests and updated documentation.
2012-04-23 22:53:59 -07:00
Michael Arnold
0743faa6db
Added tests to mysql::java.
2012-04-23 21:44:31 -07:00
William Van Hevelingen
f7e0ea5893
( #13203 ) Add ssl support
...
This commit adds a ssl parameter to the mysql::config class.
Setting ssl to true adds the following parameters to the template.
ssl_ca - path to ssl-ca
ssl_cert - path to ssl-cert
ssl_key - path to ssl-key
2012-03-21 14:48:22 -07:00
William Van Hevelingen
f353fc6a2d
( #13163 ) Datadir should be configurable
...
Previously datadir was hardcoded to /var/lib/mysql.
This commit makes datadir configurable for MySQL
installations with custom datadir paths.
2012-03-17 20:19:55 -07:00
Dan Bode
b9e6a78816
Merge pull request #51 from nanliu/tb/spec
...
Fix spec test issues related to error message.
2012-03-17 12:13:14 -07:00
Nan Liu
eff79b5331
Fix spec test issues related to error message.
...
The current spec tests was testing for an error message duplicate
declaration instead of duplicate definition. This change was introduced
by puppet issue #11451 , so we test for both errors instead.
2012-03-16 22:39:42 -05:00