Commit graph

389 commits

Author SHA1 Message Date
Hunter Haugen
b629655b4d Merge pull request #227 from hunner/pr174fix
Update my.cnf.pass.erb to allow custom socket support
2013-07-16 15:27:16 -07:00
Vincent Janelle
afb8561372 Fixing puppetlabs-mysql PR 174 spec tests 2013-07-16 15:01:58 -07:00
ThinkBriK
4edf5d48ec Update my.cnf.pass.erb 2013-07-16 15:00:53 -07:00
Ashley Penney
11ab036fed Merge pull request #225 from hunner/release_0.9.0
Release 0.9.0
2013-07-15 16:59:27 -07:00
Hunter Haugen
7407f148fc Release 0.9.0
Features:
- Add `mysql::backup::backuprotate` parameter
- Add `mysql::backup::delete_before_dump` parameter
- Add `max_user_connections` attribute to `database_user` type

Bugfixes:
- Add client package dependency for `mysql::db`
- Remove duplicate `expire_logs_days` and `max_binlog_size` settings
- Make root's `.my.cnf` file path dynamic
- Update pidfile path for Suse variants
- Fixes for lint
2013-07-15 16:55:13 -07:00
Ashley Penney
5431d78b19 Merge pull request #224 from 3flex/remove-redundant-parameter
Remove redundant hard coded replication parameters
2013-07-15 13:33:50 -07:00
Matthew Haughton
6bd91d04c1 Remove redundant my.cnf parameters
The following new `mysql` class replication parameters were added in 0.8.0, however the existing hard coded parameters were not removed from the my.conf.erb template:

- `expire_logs_days`
- `max_binlog_size`
2013-07-15 16:18:12 -04:00
Ashley Penney
096bd04f8b Merge pull request #222 from wolfspyre/iss_221
include mysql_client package as a requirement for the db creation
2013-07-15 08:25:27 -07:00
Wolf Noble
fb1e37cf04 package is specifically named 'mysql_client' not in relation to the client package name parameter. 2013-07-13 19:32:50 -05:00
Wolf Noble
19637d2e84 include mysql_client package as a requirement for the db creation 2013-07-12 18:06:53 -05:00
Ashley Penney
3205b83ac8 Merge pull request #219 from apenney/fixes
Fixes suggested by RubyMine (just playing around with it)
2013-07-11 16:43:46 -07:00
Ashley Penney
b00a6758a2 Simplify a few things. 2013-07-11 19:42:41 -04:00
Ashley Penney
4e6073de92 Fix a geninue potential issue, a non-quoted string. 2013-07-11 19:42:41 -04:00
Ashley Penney
4d3f73b550 Fixes suggested by RubyMine. (style for the most part.) 2013-07-11 19:42:41 -04:00
Ashley Penney
cc58668d19 Various fixes suggested by RubyMine. (style for the most part). 2013-07-11 19:41:42 -04:00
Ashley Penney
1bd970d8e5 Merge pull request #215 from mbakke/max_connections
Support max_user_connections in database_user
2013-07-10 07:40:23 -07:00
Marius Bakke
f3b3a7e39f fix database_user tests after changing creation method 2013-07-10 10:23:02 +02:00
Marius Bakke
dc2ec8101e allow setting max_user_connections during user creation 2013-07-10 10:07:56 +02:00
Ashley Penney
588af2a89d Merge pull request #218 from hunner/rspec_system_serverspec
Add rspec-system / serverspec tests
2013-07-09 16:15:17 -07:00
Ashley Penney
926e94a4cb Merge pull request #170 from omalashenko/master
Harden mysqlbackup.sh script
2013-07-09 16:06:55 -07:00
Ashley Penney
9bc2eb67c7 Merge pull request #214 from paramite/roothome
Use $root_home for .my.cnf
2013-07-09 16:04:23 -07:00
Ashley Penney
37f38d0ad7 Merge pull request #216 from vakuum/pr-1
Fixed PID file location for SLES 11 SP2.
2013-07-08 12:19:27 -07:00
Clemens Fuchslocher
2e82660446 Fixed PID file location for SLES 11 SP2. 2013-07-08 20:50:43 +02:00
Marius Bakke
5f3708ff24 add spec for max_user_connections on database_user 2013-07-08 17:49:59 +02:00
Marius Bakke
2548ab63e8 support max_user_connections in database_user 2013-07-08 17:31:07 +02:00
Martin Magr
e3d74a65b0 Use $root_home for .my.cnf 2013-07-08 11:49:30 +02:00
Oleg Malashenko
c89289c53c Merge pull request #1 from apenney/omalashenko
Tweak spec file to account for days of rotation.
2013-07-07 03:41:45 -07:00
Ashley Penney
afbf80879b Merge pull request #213 from apenney/081-release
Release 0.8.1 to fix a Fedora 19 bug.
2013-07-05 16:14:11 -07:00
Ashley Penney
66077bb06a Release 0.8.1 to fix a Fedora 19 bug. 2013-07-05 19:12:26 -04:00
Ashley Penney
3d641d073a Merge pull request #212 from derekhiggins/fact-typo
Fix typo in fact name
2013-07-05 16:10:57 -07:00
Derek Higgins
48af8a727d Fix typo in fact name 2013-07-06 00:08:02 +01:00
Hunter Haugen
c34bcc0f73 Add rspec-system / serverspec tests 2013-07-05 15:19:02 -07:00
Hunter Haugen
ec7e40e18d Merge pull request #211 from apenney/specs
Add basic specs for database provider.
2013-07-05 12:17:12 -07:00
Ashley Penney
4d811e4704 Add basic specs for database provider. 2013-07-05 15:04:04 -04:00
Hunter Haugen
d36597860d Merge pull request #206 from apenney/080-release
Prepare the 0.8.0 release.
2013-07-05 10:58:07 -07:00
Ashley Penney
17fdcf8138 Prepare the 0.8.0 release. 2013-07-05 13:02:48 -04:00
Ashley Penney
2b91872407 Merge pull request #210 from red-trela/fedora-19-mariadb
Cover Fedora 19's move from mysql to mariadb packages
2013-07-05 09:56:59 -07:00
Ashley Penney
d35261dc16 Tweak spec file to account for days of rotation. 2013-07-05 12:32:19 -04:00
Ashley Penney
e8e236775c Merge pull request #165 from leinaddm/add_ft_word_len_options
add ft_min_word_len and ft_max_word_len config options
2013-07-05 08:56:19 -07:00
Sandro Mathys
3ca7d958df Cover Fedora 19's move from mysql to mariadb packages 2013-07-05 10:53:56 +02:00
Daniel De Marco
e12eb0e19f add ft_min_word_len and ft_max_word_len config options 2013-07-04 21:33:53 -04:00
Oleg Malashenko
d7460d4b02 backup: configurable cleanup sequence
$delete_before_dump controls whether old backups to be removed before
creating new one.
2013-07-05 11:27:29 +10:00
Oleg Malashenko
1521a2ea4f Fixed tests for mysqlbackup.sh 2013-07-05 11:27:29 +10:00
Oleg Malashenko
9e2540f4fc Harden mysqlbackup.sh script
* mysql::backup backuprotate parameter sets the number of backups to keep,
   default is 30.

 * Use bash in mysqlbackup.sh to get exit status of mysqldump when piped to
   bzip2. Unfortunately there is no easy portable way to do that.

 * Only delete old backups when current backup finished successfully.

 * Try hard not to delete files that we didn't create (i.e. README or other
   backups).
2013-07-05 11:27:29 +10:00
Hunter Haugen
0dfa6a4857 Merge pull request #208 from apenney/database_user
Database user refactor/tests
2013-07-03 22:24:56 -07:00
Ashley Penney
8bf03681f3 Various changes to the provider to ensure commands are successful,
as well as improvements to the tests.
2013-07-03 16:08:48 -04:00
Ashley Penney
00130ef6c6 Add initial spec tests for database_user. 2013-07-03 13:22:48 -04:00
Ashley Penney
e961b83226 Fix spelling of privileges across the spec file. 2013-07-02 16:57:36 -04:00
Ashley Penney
731036e272 Merge pull request #167 from abraham1901/master
Implement character_set and other options
2013-07-02 11:32:46 -07:00
Lebedev Vadim
9d69afcae7 Merge branch 'master' of https://github.com/puppetlabs/puppetlabs-mysql
Conflicts:
	manifests/config.pp
	spec/classes/mysql_config_spec.rb
2013-07-02 22:11:19 +04:00