Commit graph

369 commits

Author SHA1 Message Date
Dan Bode
9f77e8a24a Merge pull request #14 from bodepd/issue/master/root_pw_cleanup
Cleaned up implementation for setting root pw
2011-06-24 10:17:46 -07:00
Ken Barber
a1bd55423b 15 - Fix resource names in monitor.pp 2011-06-24 15:05:46 +01:00
Dan Bode
0963d2eb4f Cleaned up implementation for setting root pw
- param of rather or not to set rootpw in
/etc/my.cnf

- fixed bug for rootpw conditional

- config files are only used for managing rootpw
2011-06-23 23:41:38 -07:00
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
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
0f3f58f6ca Merge pull request #9 from glarizza/feature/master/password_ordering
Mysql Module Fixes
2011-06-17 15:49:15 -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
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
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
b7761efd5b corrected /etc/my.cnf path 2011-06-01 20:20:11 -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
30338032a5 added module to install python tools for mysql 2011-05-26 18:10:08 -07:00
Dan Bode
d28f0e0327 adding first commit for mysql. 2011-05-24 23:22:43 -07:00