Commit graph

389 commits

Author SHA1 Message Date
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
Ryan Coleman
cf74d2bcd0 Merge pull request #204 from hunner/release_0.7.1
Release 0.7.1
2013-06-26 15:13:26 -07:00
Hunter Haugen
a71482760a Release 0.7.1
Bugfixes:
- Single-quote password for special characters
- Update travis testing for puppet 3.2.x and missing Bundler gems
2013-06-26 14:46:02 -07:00
Hunter Haugen
1610add58c Merge pull request #203 from hunner/update_travis
Update specs for current testing practices and GH publish
2013-06-26 14:39:44 -07:00
Hunter Haugen
b5778d56a2 Update specs for current testing practices and GH publish 2013-06-26 14:19:57 -07:00
Hunter Haugen
deba75d18a Merge pull request #166 from ekohl/quote-mycnf
Quote the password
2013-06-26 10:23:14 -07:00
Lebedev Vadim
a42d5bea53 Merge branch 'master' of https://github.com/puppetlabs/puppetlabs-mysql 2013-06-26 14:06:01 +04:00
Ewoud Kohl van Wijngaarden
59a6fb8097 Quote the password
It is possible to have a # in a password, which is parsed as a comment.
By quoting the password this is no problem.
2013-06-26 11:47:11 +02:00
Ryan Coleman
08579ef07e Merge pull request #202 from hunner/release_0.7.0
Release 0.7.0
2013-06-25 17:07:20 -07:00
Hunter Haugen
db18db51f6 Release 0.7.0
This is a maintenance release for community bugfixes and exposing
configuration variables.

* Add new `mysql` class parameters:
 -  `basedir`: The base directory mysql uses
 -  `bind_address`: The IP mysql binds to
 -  `client_package_name`: The name of the mysql client package
 -  `config_file`: The location of the server config file
 -  `config_template`: The template to use to generate my.cnf
 -  `datadir`: The directory MySQL's datafiles are stored
 -  `default_engine`: The default engine to use for tables
 -  `etc_root_password`: Whether or not to add the mysql root password to
 /etc/my.cnf
 -  `java_package_name`: The name of the java package containing the java
 connector
 -  `log_error`: Where to log errors
 -  `manage_service`: Boolean dictating if mysql::server should manage the
 service
 -  `max_allowed_packet`: Maximum network packet size mysqld will accept
 -  `old_root_password`: Previous root user password
 -  `php_package_name`: The name of the phpmysql package to install
 -  `pidfile`: The location mysql will expect the pidfile to be
 -  `port`: The port mysql listens on
 -  `purge_conf_dir`: Value fed to recurse and purge parameters of the
 /etc/mysql/conf.d resource
 -  `python_package_name`: The name of the python mysql package to install
 -  `restart`: Whether to restart mysqld
 -  `root_group`: Use specified group for root-owned files
 -  `root_password`: The root MySQL password to use
 -  `ruby_package_name`: The name of the ruby mysql package to install
 -  `ruby_package_provider`: The installation suite to use when installing the
 ruby package
 -  `server_package_name`: The name of the server package to install
 -  `service_name`: The name of the service to start
 -  `service_provider`: The name of the service provider
 -  `socket`: The location of the MySQL server socket file
 -  `ssl_ca`: The location of the SSL CA Cert
 -  `ssl_cert`: The location of the SSL Certificate to use
 -  `ssl_key`: The SSL key to use
 -  `ssl`: Whether or not to enable ssl
 -  `tmpdir`: The directory MySQL's tmpfiles are stored
* Deprecate `mysql::package_name` parameter in favor of
`mysql::client_package_name`
* Fix local variable template deprecation
* Fix dependency ordering in `mysql::db`
* Fix ANSI quoting in queries
* Fix travis support (but still messy)
* Fix typos
2013-06-25 16:35:28 -07:00
Hunter Haugen
d8ddbc8bdb Merge pull request #200 from hunner/tmpconfigure
make tmpdir configurable
2013-06-25 15:33:16 -07:00
Hunter Haugen
c459884dc9 Change tmpdir to @tmpdir 2013-06-25 15:06:07 -07:00
Niek Beernink
9dc1b946de make tmpdir configurable 2013-06-25 15:06:07 -07:00
Hunter Haugen
d41dbfd69f Merge pull request #201 from hunner/template_depr
Update template for #179
2013-06-25 15:04:19 -07:00
Hunter Haugen
4b900ec44d Update template for #179 2013-06-25 15:03:12 -07:00
Hunter Haugen
a04038efb0 Merge pull request #179 from msmithgu/parameterize-max_allowed_packet
Parameterized max_allowed_packet my.conf config setting, because it is needed to setup puppet-dashboard.
2013-06-25 14:56:53 -07:00
Hunter Haugen
16affe5af8 Merge pull request #199 from hunner/ansi_quotes
Fix SQL when ANSI_QUOTES is enabled in mysql config.
2013-06-25 10:22:00 -07:00
Hunter Haugen
18866d2c36 Merge pull request #197 from mhellmic/RedHat
change the distribution osfamily from Redhat into RedHat
2013-06-24 16:24:23 -07:00
Hunter Haugen
d68aa838e4 Update specs for ansi quoting 2013-06-24 14:51:12 -07:00
Stuart Grimshaw
608e4e8f43 Fixed SQL for databse_grant and database_user when ANSI_QUOTES Mysql option is set. 2013-06-24 14:50:39 -07:00
Hunter Haugen
d29bc94d1b Merge pull request #188 from gimler/patch-1
fix puppet warning default_engine
2013-06-24 14:34:08 -07:00
Hunter Haugen
826d441229 Merge pull request #192 from doismellburning/patch-1
Update README.md
2013-06-24 14:33:37 -07:00
Steve Traylen
b9b122e65a change the distribution osfamily from Redhat into RedHat 2013-06-24 16:24:50 +02:00
Lebedev Vadim
4d9e9a50ae * Fixing lint warnings 2013-06-17 18:07:21 +04:00
Lebedev Vadim
fad4f06cb2 * Fixing lint warnings 2013-06-17 18:04:55 +04:00
Lebedev Vadim
6c81ea0d24 * Trying fix unit tests for Travis 2013-06-16 19:41:29 +04:00
Kristian Glass
5d9bd3eaa4 Update README.md
Typo fix (priviledged -> privileged)
2013-06-13 16:00:13 +02:00
Lebedev Vadim
b07c67ec18 Merge branch 'master' of https://github.com/puppetlabs/puppetlabs-mysql 2013-06-10 16:36:41 +04:00
Gordon Franke
04fb83f456 fix puppet warning default_engine 2013-05-29 15:16:48 +03:00
Hunter Haugen
efb7a6ee90 Merge pull request #185 from ChrisRut/master
fix variables in templates
2013-05-28 12:18:42 -07:00
Chris Weyl
beeb261c5a Merge branch 'master' into topic/perl
Conflicts:
	manifests/init.pp
2013-05-27 15:23:55 -07:00
Ashley Penney
811ebc62c8 A very small fix for the case where the root password has been changed
by hand and then you change your mysql::server entry to match.  If you
also change any mysql::db entries at the same time this causes those to
be attempted before your /root/.my.cnf is updated.

I can't add rspec testing for this until https://github.com/rodjek/rspec-puppet/pull/106
is merged.
2013-05-25 21:33:29 -04: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
Mark Smith-Guerrero
242f6e5881 parameterized previously hardcoded max_allowed_packet config setting 2013-05-06 15:55:53 -04:00
Mark Smith-Guerrero
7f94bc3c97 added spec test for parameterized max_allowed_packet 2013-05-06 15:54:47 -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