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
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
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
Simon Effenberg
612ee9884d
Only a simple documentation fix.
2012-10-03 09:22:03 +02: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
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
Janos Pasztor
e77576d8e7
Added spec for IPv6 changes as requested by upstream
2012-09-05 09:58:42 +02:00
Janos Pasztor
0c07e42427
Added IPv6 localhost to account_security
2012-09-04 21:42:07 +02:00
Hunter Haugen
5e8f98b5d2
Merge pull request #108 from Paulche/master
...
Add show view privilege for backup user
This is valid for database dumps which contain views, as per http://dev.mysql.com/doc/refman/5.1/en/mysqldump.html
2012-09-04 11:18:43 -07:00
Erik Dalén
b670071d9f
Fix lint warnings
2012-09-04 16:25:08 +02:00
Paul Chechetin
f1b6495490
Add show_view_privilege for backup user
2012-09-03 16:53:59 +04: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
e27cff0bd9
fixed typo
2012-08-24 08:06:17 +02: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
Derek Higgins
06fe2fdbd2
Change list passed into validate_re to a stringe
...
The list was causing a syntax error on puppet puppet 2.6.17
2012-08-23 10:04:30 +01:00
Simon Effenberg
1fb0c273a8
fixed .my.cnf path
...
* rollback for the file location + updated the documentation
2012-08-23 07:36:30 +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
Dan Bode
211da13545
Revert "Merge pull request #90 from emonty/master"
...
This reverts commit 063d72493c
, reversing
changes made to 9c10b3a6c3
.
2012-08-15 18:03:37 -07:00
Dan Bode
063d72493c
Merge pull request #90 from emonty/master
...
Add a bunch of new parameters
2012-08-15 17:40:42 -07:00
Branan Purvine-Riley
02695533c8
Put that curly brace in the right place this time
2012-08-14 10:09:33 -07:00
Branan Purvine-Riley
1da8ae7a28
Add a missing curly brace
2012-08-14 09:58:35 -07:00
Nick Osborn
65f72ad317
Add support for Amazon Linux.
2012-08-13 17:26:01 -07:00
Simon Effenberg
f13482bde2
New configuration define.
...
* added a define to easily create .cnf files in /etc/mysql/conf.d/
* fix wrong path for .my.cnf in /etc/
2012-08-13 10:59:28 +02:00
Monty Taylor
8d97f5dca8
Add apparmor support.
2012-08-12 08:48:19 -04: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
Monty Taylor
069dc48d38
Add parameterization changes from wikipedia.
2012-07-30 09:31:48 -05: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
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
John Chilton
0f0928ae88
Allow specification of storage engine.
2012-05-15 12:37:03 -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
Michael Arnold
8dc651c0e2
Simplify Exec["${name}-import"]
...
Show that mysql:db can also import SQL from a file in order to, for
example, initialize a database schema. Since it requires class
mysql::server, we assume to run all commands as the root mysql user
against the local mysql server.
2012-05-03 23:35:51 -07:00
Michael Arnold
70d14e84d7
Update privilege names to comply with 3fbb54de6c
.
2012-05-03 19:54:32 -07:00
Branan Purvine-Riley
d0a5b1c534
remove $safe_grant
...
Now that the ruby can query permissions sanely, filtering 'all' is
no longer necessary
2012-05-01 17:01:06 -07:00
Michael Arnold
fbee243ff6
Rip out backup class parameter defaults.
...
No need for setting default values to class parameters and then testing
to confirm they are set to non-default values. Simply do not give them
values to begin with.
2012-04-30 08:07:46 -07:00
Michael Stahnke
e6b45ebfae
Merge pull request #60 from geogdog/patch-1
...
I noticed the following message whilst provisioning using this module:
2012-04-29 15:24:33 -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