Commit graph

146 commits

Author SHA1 Message Date
William Van Hevelingen
f572b90f9e (#14330) Add FreeBSD spec tests 2012-05-30 19:12:57 -07:00
William Van Hevelingen
05d7e23fe8 (#14330) Add support for FreeBSD
Note: ssl_ca, ssl_cert, and ssl_key do not have sane
defaults in FreeBSD. Setting ssl to true will require
setting the parameters mentioned above.
2012-05-30 19:12:25 -07:00
Dan Bode
ece11c57fa Merge pull request #77 from branan/updated_module_layout
Update the module to the new layout for easier testing and packaging
2012-05-25 16:10:53 -07:00
Branan Purvine-Riley
262449068d Add a clean task 2012-05-25 11:09:21 -07:00
Branan Purvine-Riley
703c0bde30 Update the module to the new layout for easier testing and packaging
* Add spec_full, spec_prep, and spec_clean targets
* Rename Gemfile -> .gemfile for less cluttered module packages
* Append fixtuers to modulepath instead of overwriting
* Use a more complete .gitignore
* Remove the recursive symlink
2012-05-24 16:55:22 -07:00
Dan Bode
c1e3bcabf4 Merge pull request #76 from brdude/master
Default types hacks not needed.
2012-05-22 16:59:40 -07:00
Rodrigo Menezes
f0f9e76db7 Default types hacks not needed.
Default types hacks not needed.
2012-05-22 16:50:46 -07:00
Dan Bode
65de49f090 Merge pull request #74 from jmchilton/specify_engine
Allow consumer to specify default storage engine for MySQL server.
2012-05-15 18:07:46 -07:00
John Chilton
41be95e262 Add spec's to test setting default storage engine. 2012-05-15 12:42:32 -05:00
John Chilton
0f0928ae88 Allow specification of storage engine. 2012-05-15 12:37:03 -05:00
Dan Bode
360f8d968a Merge pull request #64 from runningman/backup
Added mysql::backup class.
2012-05-10 22:44:52 -07:00
Dan Bode
0178347392 Merge pull request #72 from branan/travisci
Update Travis CI config
2012-05-08 10:25:44 -07:00
Branan Purvine-Riley
e3a0703c6c Add mocha to gemfile 2012-05-08 10:10:37 -07:00
Branan Purvine-Riley
02089f4faf Update travis config for our testing targets 2012-05-08 10:10:24 -07:00
Dan Bode
05f7807fc0 Merge pull request #71 from runningman/security
Fixed regex of database user.
2012-05-06 23:56:01 -07:00
Michael Arnold
eaf9ee50f6 Fixed regex of database user.
The incorrect regex did not all for the anonymous mysql users to be
removed via the mysql::server::account_security class.  The regex is now
increased to cover for @localhost and @%.
2012-05-06 23:17:49 -07:00
Dan Bode
ed62777045 Merge pull request #63 from runningman/security
Added mysql::server::account_security class.
2012-05-04 18:04:11 -07:00
Nan Liu
c2b90348b2 Merge pull request #70 from branan/14221_forge_update
(#14221) Update Modulefile and CHANGELOG for next release
2012-05-04 15:09:42 -07:00
Branan Purvine-Riley
5185cf422c (#14221) Update Modulefile and CHANGELOG for next release 2012-05-04 15:06:50 -07:00
Nan Liu
22f59f0b5d Merge pull request #68 from runningman/wild_host
Allow wildcard host assignment with sql.
2012-05-04 14:52:28 -07:00
Nan Liu
73a07bfbf3 Merge pull request #69 from branan/case_insensitive
(#14316) Make privileges case-insensitive
2012-05-04 14:50:16 -07:00
Branan Purvine-Riley
6a81a2f687 (#14316) make privileges case-insensitive 2012-05-04 10:04:46 -07:00
Michael Arnold
8dc651c0e2 Simplify Exec["${name}-import"]
Show that mysql:db can also import SQL from a file in order to, for
example, initialize a database schema.  Since it requires class
mysql::server, we assume to run all commands as the root mysql user
against the local mysql server.
2012-05-03 23:35:51 -07:00
Michael Arnold
c06f82eef7 Update privilege names to comply with 3fbb54de6c.
Forgot to update the rspec test.
2012-05-03 19:58:25 -07:00
Michael Arnold
70d14e84d7 Update privilege names to comply with 3fbb54de6c. 2012-05-03 19:54:32 -07:00
Dan Bode
3fbb54de6c Merge pull request #65 from branan/14218_query_db_for_permissions
Query the database for possible permissions
2012-05-01 17:14:52 -07:00
Branan Purvine-Riley
29cef3f71a Add initial spec for mysql grant provider 2012-05-01 17:01:47 -07:00
Branan Purvine-Riley
d0a5b1c534 remove $safe_grant
Now that the ruby can query permissions sanely, filtering 'all' is
no longer necessary
2012-05-01 17:01:06 -07:00
Branan Purvine-Riley
4485dbb95f Remove the global *_PRIVS variables 2012-05-01 17:00:46 -07:00
Michael Arnold
fbee243ff6 Rip out backup class parameter defaults.
No need for setting default values to class parameters and then testing
to confirm they are set to non-default values.  Simply do not give them
values to begin with.
2012-04-30 08:07:46 -07:00
Michael Stahnke
e6b45ebfae Merge pull request #60 from geogdog/patch-1
I noticed the following message whilst provisioning using this module:
2012-04-29 15:24:33 -07:00
Michael Stahnke
f750b39ad5 Merge pull request #61 from runningman/java
Java
2012-04-29 15:24:11 -07:00
Dan Bode
779affeb52 Merge pull request #62 from fcharlier/syntax_error_monitor
Fix typos in mysql::server::monitor class
2012-04-24 12:07:56 -07:00
François Charlier
64f367fbb4 Fix typos in mysql::server::monitor class
* fix the dependency declaration

+ add basic tests
2012-04-24 11:56:01 +02:00
Michael Arnold
7890f79547 Added mysql::server::account_security class.
Secures the MySQL installation by removing the test database and the
default users that are created during the MySQL first-run
(root@${fqdn}, @%, @localhost, etc.).
Includes rspec tests and updated documentation.
2012-04-23 23:41:12 -07:00
Michael Arnold
4158137278 Added mysql::backup class.
Installs a mysql backup script, cronjob, and priviledged backup user. 
Includes rspec tests and updated documentation.
2012-04-23 22:53:59 -07:00
Michael Arnold
86eec56118 Added documentation for mysql::java. 2012-04-23 21:48:32 -07:00
Michael Arnold
0743faa6db Added tests to mysql::java. 2012-04-23 21:44:31 -07:00
Michael Arnold
ba4df4dead Added mysql::java class.
Added a small class to install the Java MySQL connector.
2012-04-23 21:24:01 -07:00
Greg Trahair
097879bad3 I noticed the following message whilst provisioning using this module:
notice: /Stage[main]/Mysql::Config/Exec[set_mysql_rootpw]/returns: mysqladmin: Can't read dir of '/etc/mysql/conf.d/' (Errcode: 2)

Even though it's not fatal, it's cleaner for Exec['set_mysql_rootpw'] to require File['/etc/mysql/conf.d'].
2012-04-23 13:06:39 +03:00
Dan Bode
12a4410e63 Merge pull request #58 from derekhiggins/set-errorlog
set platform dependent error logfile location
2012-04-11 18:16:39 -07:00
Derek Higgins
9ff99ba336 set platform dependent error logfile location 2012-04-12 00:06:35 +00:00
Jeff McCune
07a8a5fc33 Merge branch 'maint/master/release_0.2.0'
* maint/master/release_0.2.0:
  Update Modulefile CHANGELOG for 0.2.0 release
2012-04-11 16:14:09 -07:00
Jeff McCune
c16a71d96b Update Modulefile CHANGELOG for 0.2.0 release 2012-04-11 16:08:20 -07:00
Dan Bode
0a1d154acc Merge pull request #54 from blkperl/ticket_13203_add_ssl_support
(#13203) Add ssl support
2012-04-09 22:56:10 -07:00
William Van Hevelingen
f7e0ea5893 (#13203) Add ssl support
This commit adds a ssl parameter to the mysql::config class.
Setting ssl to true adds the following parameters to the template.

   ssl_ca             - path to ssl-ca
   ssl_cert           - path to ssl-cert
   ssl_key            - path to ssl-key
2012-03-21 14:48:22 -07:00
Dan Bode
ce606a9525 Merge pull request #53 from nanliu/tb/travis
Add travis.ci to module
2012-03-20 17:31:45 -07:00
Dan Bode
06ac21ab3c Merge pull request #47 from blkperl/ticket_13163_datadir_should_be_configurable
(#13163) Datadir should be configurable
2012-03-18 12:34:04 -07:00
Dan Bode
cd05744374 Merge pull request #52 from nanliu/tb/readme
Document create_resources dependency.
2012-03-18 12:27:38 -07:00
Nan Liu
0ea463b5f0 Travis ci before script needs success exit code.
Update before script so it exits with 0 for Puppet 2.7.
2012-03-18 02:06:03 -05:00