Commit graph

146 commits

Author SHA1 Message Date
Christian G. Warden
92660497a2 (#11185) Fully qualify $operatingsystem
Fully qualify $operatingsystem from root scope as $::operatingsystem. This
should help remove the warnings in Puppet 2.7.x.
2011-12-05 23:34:53 +00:00
Ken Barber
c9030cdcd9 Merge pull request #22 from webfactory/optional_commands
Fix (#10882) by making all commands optional.
2011-11-16 07:53:41 -08:00
Matthias Pigulla
b0ff433860 Fix (#10882) by making all commands optional. 2011-11-16 16:49:31 +01:00
Ken Barber
68e4c6af32 Merge pull request #21 from bodepd/config_hash_update
(#10391) Update docs to reflect config_hash.
2011-10-31 11:06:00 -07:00
Ken Barber
7e06236717 Merge pull request #20 from bodepd/manage_conf_dir
(#10390) Manage /etc/mysql directory.
2011-10-31 11:04:08 -07:00
Dan Bode
e1cb227803 (#10391) Update docs to reflect config_hash.
Configuration was moved to config hash param of the mysql::server class.

This was done so that additional parameters can be
added in the future and not have to be added to
both mysql::config and mysql::server as class params

This patch updates the README, docs, and examples to
correctly use the parameter.
2011-10-31 11:01:57 -07:00
Dan Bode
319644cec5 (#10390) Manage /etc/mysql directory.
/etc/mysql/my.cnf was being managed and /etc/mysql was not.
This was causing failures if the directory was not created
by the package.

This commit manages it in case it was not created by the package.
2011-10-31 10:39:08 -07:00
Dan Bode
bc6ed1dfc6 Merge pull request #18 from lsc/patch-1
Edited README via GitHub
2011-08-22 08:38:09 -07:00
Lowe Schmidt
f7e398780c Edited README via GitHub 2011-08-22 22:51:50 +03:00
Dan Bode
29bdca5a76 Merge pull request #17 from bodepd/issue/master/dep_on_cond_resource
Fixed dep issue.
2011-06-24 11:03:12 -07:00
Dan Bode
eb608164e4 Fixed dep issue.
the exec was set to depend on a conditional resource
resulting in possible errors. Reversed the conditional
to be set on the conditonal resource.
2011-06-24 10:28:55 -07:00
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
Dan Bode
acef166ed7 Merge pull request #16 from kbarber/issue/master/15_incorrect-resource-names-in-monitor
15 - Fix resource names in monitor.pp
2011-06-24 09:08:57 -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
3a1672c23c Merge pull request #13 from bodepd/issue/master/fixed_root_pw
Fixed bug with updating mysql root pw.
2011-06-23 16:55:25 -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
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