Commit graph

528 commits

Author SHA1 Message Date
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
Ashley Penney
aa5d1f070b Merge pull request #198 from mhellmic/maxconnections
add a maximum connection parameter and set the default to 1000
2013-07-02 10:43:29 -07:00
Lebedev Vadim
6cef2e8af4 Merge branch 'master' of https://github.com/puppetlabs/puppetlabs-mysql 2013-07-02 21:42:49 +04:00
Ashley Penney
f3e5c89551 Merge pull request #187 from RsrchBoy/topic/perl
add mysql::perl helper class
2013-07-02 10:37:10 -07:00
Ashley Penney
1b5dc3ce68 Merge pull request #186 from apenney/rootpassword
(WIP) #20562: Minor fix for ordering
2013-07-02 10:36:31 -07:00
Lebedev Vadim
ead86b5a3f Merge branch 'master' of https://github.com/puppetlabs/puppetlabs-mysql
Conflicts:
	manifests/config.pp
2013-07-02 21:26:43 +04:00
Ashley Penney
d9ce083f20 Merge pull request #162 from frimik/19744
fixes #19744 - no restart on root/.my.cnf change
2013-07-02 09:56:10 -07:00
Ashley Penney
9839a1ccae Merge pull request #132 from Savar/manage_config_file_parameter
handling of my.cnf config file is now optional
2013-07-02 08:59:44 -07:00
Simon Effenberg
7f7e886d71 handling of my.cnf config file is now optional
This adds a parameter (default value is like old behavior) so that the
my.cnf file isn't managed (created/updated) by the mysql module at all
which is necessary for our environment. We need to set all parameters by
ourself. If we don't set a parameter then the default from the mysqld
binary should be used instead of any default parameter the mysql module
provides us.
2013-07-02 10:01:21 +02:00
Martin Hellmich
880eaae3e8 changed the max_connections default to 151
this is the default according to the mysql manual.
https://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_max_connections
2013-06-28 11:21:58 +02:00
Martin Hellmich
1263d89a98 changed the test accordingly to the new max-connections parameter
Conflicts:
	spec/classes/mysql_config_spec.rb
2013-06-28 11:03:36 +02:00
Martin Hellmich
3089d3a59b add a maximum connection parameter and set the default to 1000
Conflicts:
	manifests/config.pp
	templates/my.cnf.erb
2013-06-28 10:15:58 +02:00