Commit graph

76 commits

Author SHA1 Message Date
Scott Reeves
686dcf293f Use a dict instead of a list for users 2014-11-02 00:57:27 -04:00
David Boucha
5b16c57af5 create directory if not there 2014-10-20 13:02:43 -06:00
David\ Beitey
4e40bc2c51 Add remove test database state
Conflicts:
	README.rst

Conflicts:
	README.rst
2014-10-14 13:28:33 +10:00
David\ Beitey
a7494c9490 Add scripted parsing of all mysql options 2014-10-10 16:43:15 +10:00
Nitin Madhok
b697e58c73 Merge pull request #37 from jcu-eresearch/fix-user-removal
Ensure all anonymous users are removed; ensure None values for fqdn are handled for YAML
2014-10-09 06:49:59 -04:00
David\ Beitey
4975897b42 Ensure all anonymous users are removed; ensure None values for fqdn are handled for YAML 2014-10-09 17:34:00 +10:00
David\ Beitey
734d5ef7a1 Fix broken state / my.cnf file 2014-10-09 16:47:58 +10:00
root
c55c2a4c46 Add support table param for mysql.user state (by default table is *)
Add support of changing/adding any attribute in my.cnf. NB!!! It breaks backward compatibility for mysql.server state.
Delete mysql_size param support (now you can customiza all my.cnf parameters in pillar)
Add script import_users.py that create user pillar for existent server
Add support root@localhost mysql user without password (root_password = False)
Add support of grant_option
2014-09-29 00:08:11 +09:00
Alfons Foubert
4ec9db6eaa Fix for CentOS 2014-09-28 00:37:59 +02:00
Alfons Foubert
ffff679528 Changed the grain os to os_family 2014-09-26 13:35:53 +02:00
Alfons Foubert
7c51515a87 Adding File for CentOS 2014-09-25 18:54:59 +02:00
Christian Hudon
d829221125 Also rename the configuration file to the OS family. 2014-08-25 05:07:59 -04:00
Christian Hudon
78fddee402 Use os_family grain wherever possible, so the sls files work on a
broader number of Linux distributions.
2014-08-22 15:00:36 -04:00
tiger-seo
a3784bd124 allow to add users without password 2014-08-07 19:47:48 +03:00
tiger-seo
b74acd30ab connection arguments for anonymous user deletion 2014-08-05 22:14:11 +03:00
tiger-seo
8361568c9d add quotes, so that all databases (*.*) is acceptable 2014-08-05 22:13:26 +03:00
Seth House
f5bebe3d38 Merge pull request #27 from thenewwazoo/schema_load
clever way to load DB schemas in 2014.1
2014-07-27 01:07:12 -06:00
Brandon Matthews
a842caf882 backed out rand_str calls 2014-07-26 23:54:48 -07:00
Brandon Matthews
ef312bc5e5 clever way to load DB schemas in 2014.1 2014-07-26 23:48:56 -07:00
Juan M
bad340eb38 Added support for % hosts 2014-07-02 23:43:27 -03:00
Chad Heuschober
f4736458a2 Removes any helium-dependent features. 2014-07-02 10:15:13 -04:00
Chad Heuschober
f0e80c60da Requisites for the failed test state killed additional execution 2014-07-01 16:16:34 -04:00
Chad Heuschober
6b05b33a8a Fixes sls requisite in init 2014-07-01 15:45:01 -04:00
Chad Heuschober
4d47c4c588 Bad quoting in server.sls 2014-07-01 15:39:57 -04:00
Chad Heuschober
378508f887 Removes orphan endif 2014-07-01 15:34:43 -04:00
Chad Heuschober
cb5133f0a3 Fixes missing param in user.states 2014-07-01 15:32:32 -04:00
Chad Heuschober
b75efe4d73 Fixes missing paren 2014-07-01 15:28:43 -04:00
Chad Heuschober
9c4512c32f Typo in mysql. 2014-07-01 15:26:49 -04:00
Chad Heuschober
b53d61adfc Adds meta state and also deals with the default password security issue. 2014-07-01 15:18:54 -04:00
Forrest
a1d6ac2825 Merge pull request #13 from saltstack-formulas/remove-selinux-prereq
Removed disabling SELinux prereq; no longer needed
2014-05-28 22:16:36 -07:00
Matt Herrmann
6bfa8c7c2b Add name declaration to database creation in database.sls 2014-05-27 16:05:32 +10:00
Chad Heuschober
adacdb49e4 Fixed state names without proper namespacing that could lead to potential conflicts. 2014-05-21 12:06:17 -04:00
Clayton Kramer
13f6ff1c6a Moved the python-mysql package out of the server installed and added it as a SLS include for the database and user SLS that depend on it. 2014-05-15 17:15:09 -04:00
Clayton Kramer
f85717247d Merge remote-tracking branch 'upstream/master' 2014-05-15 16:57:15 -04:00
Clayton Kramer
d81c6341e9 Added support for MySQL hashed user password. Also added some improved YAML quoting around passwords. 2014-05-15 16:40:02 -04:00
Seth House
7960e8d1f2 Removed disabling SELinux prereq; no longer needed
This SELinux problem was caused by the yumpkg.py module that used the
yum Python interface for CentOS 6 machines. That was removed in favor of
the yumpkg.py that shells out to yum which does not have this problem.
This workaround can be removed.
2014-05-14 09:56:16 -06:00
Seth House
d9b3acad1f Merge pull request #11 from opennode-salt-formulas/centos-my.cnf
Add managed my.cnf for CentOS
2014-05-14 09:22:07 -06:00
Ihor Kaharlichenko
cf88ec57c0 Set MySQL root password for CentOS 2014-05-14 15:39:32 +04:00
Ihor Kaharlichenko
04e3aa25f3 Add managed my.cnf for CentOS 2014-05-14 11:44:00 +04:00
Clayton Kramer
c5bbc00620 Added new database and user SLS files that were left out of previous commits. 2014-05-12 12:35:06 -04:00
Clayton Kramer
88f80b06a6 Create and manage MySQL databases on the server 2014-05-12 11:47:51 -04:00
Clayton Kramer
02081cccce Added feature for setting up MySQL root password via the Salt debconf state instead of through the pkg state. 2014-05-12 11:04:24 -04:00
madflojo
af0ce12ceb jinja errors
The {%- caused a spacing error between debconf and service.
2014-01-29 21:56:37 -07:00
madflojo
4645025037 debconf for mysql
Adding a sample debconf mysql file and debconf statement in the state
file.
2014-01-29 21:43:45 -07:00
Christer Edwards
21247d386f removed user/group/mode for FreeBSD 2014-01-29 21:23:59 -07:00
Christer Edwards
4b091efbee fixed dashes to underscore in Gentoo and FreeBSD 2014-01-29 21:22:14 -07:00
Christer Edwards
da48763d29 changed - to _ in mysql.mysql-size 2014-01-29 21:19:28 -07:00
Christer Edwards
48c69a2657 accidentally a whole }, 2014-01-29 21:14:42 -07:00
Christer Edwards
41bd1ea44a s/mysql-size/mysql_size/ 2014-01-29 21:13:17 -07:00
Christer Edwards
cc7774ac8a Initial FreeBSD support 2014-01-29 21:09:15 -07:00