Commit graph

1280 commits

Author SHA1 Message Date
Dan Bode
b93e0f65cb Fixed bug with updating mysql root pw.
root_password was being set to an undefined variable.
2011-06-23 16:45:28 -07:00
Dan Bode
aaffc471c1 Merge pull request #12 from bodepd/feauture/master/expand_config
Created config class and extended params.
2011-06-22 15:39:08 -07:00
Dan Bode
a24881a682 Created config class and extended params.
It makes way more sense to just allow it as a 
class param.

Also added some additional config for setting bind
address and port.

Added management of /etc/mysql/my.cnf

Documented a dependency on create_resources 0.0.1
2011-06-22 11:38:11 -07:00
Dan Bode
dbcdaf98d1 Merge pull request #11 from bodepd/issue/master/set_charset_on_create
Database should set charset on create.
2011-06-17 15:49:34 -07:00
Dan Bode
0f3f58f6ca Merge pull request #9 from glarizza/feature/master/password_ordering
Mysql Module Fixes
2011-06-17 15:49:15 -07:00
Dan Bode
4774c63435 Database should set charset on create.
Previously, the charset of the database was not
being set on create, causing puppet to have to
potentially run twice to update it.
2011-06-16 21:57:06 -07:00
Dan Bode
190fd129fc Merge pull request #10 from glarizza/feature/master/service_path_fix
Feature/master/service path fix
2011-06-16 17:34:10 -07:00
Gary Larizza
bba9589770 Fix service path
Restrict the path for the service binary to '/sbin/:/usr/sbin/'
2011-06-16 16:33:09 -07:00
Dan Bode
273aeb4ad0 Merge pull request #8 from glarizza/feature/master/ruby_mysql_fix
Refactor ruby package provider
2011-06-16 15:37:29 -07:00
Gary Larizza
1d16d45f4e Fix root password ordering issue
This commit fixes an ordering issue for setting the 
mysql root password.
2011-06-16 15:35:16 -07:00
Gary Larizza
6b98633cc8 Add client package variable
The mysql client package is different on CentOS. This commit adds
a parameter for the mysql client package and defaults to a variable
in the mysql::params class.
2011-06-16 15:34:04 -07:00
Gary Larizza
c15ef0ad1b Remove path to service binary
This commit removes the path to the service binary (which didn't
work on CentOS) and instead added a path parameter.
2011-06-16 15:32:07 -07:00
Gary Larizza
f4291778cc Refactor ruby package provider
Allow a parameter for the ruby-mysql package provider.  This
will allow you to use providers other than gem.
2011-06-16 14:03:05 -07:00
Jeff McCune
3c1793ac73 Merge pull request #5 from bodepd/feature/master/no_root_debian
Debian should not manage root password
2011-06-16 11:21:25 -07:00
Dan Bode
fb00c75ced Debian should not manage root password
- previously setting the root password failed on 
  Debian b/c a root password was already set
  during package installation
- Debian already installs mysql with a 
   maintainance user capable of performing any
   required database actions.
- this patch splits setting of root password to
  be redhat specific.
- as a consequence, users will not be able to 
  specify a root password on Debian (which 
  needs to be opened as a seperate ticket)
2011-06-16 10:49:15 -07:00
Dan Bode
d6c8c2c3b2 Merge pull request #2 from bodepd/master
corrected spelling of David's last name
2011-06-06 08:46:26 -07:00
Dan Bode
bdc46d1505 Corrected the spelling of David's name (oops!) 2011-06-05 20:05:42 -07:00
Dan Bode
645897d414 Release 0.0.1 2011-06-03 13:38:29 -07:00
Dan Bode
e9b65c49a2 vastly improved READE 2011-06-03 13:37:59 -07:00
Dan Bode
ae31122d38 added some additional TODOS 2011-06-03 13:27:44 -07:00
Dan Bode
b7761efd5b corrected /etc/my.cnf path 2011-06-01 20:20:11 -07:00
Dan Bode
bf334ccb4e Added modulefile. 2011-05-31 22:02:39 -07:00
Dan Bode
344d644d5c Added documentation and license to module. 2011-05-31 20:47:19 -07:00
Dan Bode
03d2ad5550 Added ensure param to mysql::ruby.
allows users of the module to specify the 
package version.
2011-05-31 20:46:02 -07:00
Dan Bode
fa7f0ebf17 removed accidentally checked in swap file.
removed spurious logging from db class
2011-05-29 18:15:55 -07:00
Dan Bode
0b5cc21348 cleaned up style a little:
- updated mysql::ruby to use params value for
  package_name
- updated server to use params value for service
  and package
- clarified some param names to make them more
  consistent
2011-05-26 18:11:24 -07:00
Dan Bode
f65e49e2ce added more input validation for db user. 2011-05-26 18:10:30 -07:00
Dan Bode
30338032a5 added module to install python tools for mysql 2011-05-26 18:10:08 -07:00
Dan Bode
62e787f87f ignore swap files 2011-05-26 17:59:01 -07:00
Dan Bode
d28f0e0327 adding first commit for mysql. 2011-05-24 23:22:43 -07:00