Commit graph

274 commits

Author SHA1 Message Date
Bogdan Rădulescu
3d805dd547 Added some important settings for Debian 2017-01-12 10:44:42 +00:00
Rene Jochum
8777d27282 Merge pull request #158 from vt-saltstack-formulas/master
Fixes for bad defaults on CentOS 7
2016-12-29 18:03:31 +01:00
Andrew Wasilczuk
c68037aaa3 Fixes for bad defaults on CentOS 7 2016-12-27 22:25:08 +00:00
Brian Jackson
36fd044068 Merge pull request #154 from scornelissen85/fix/mariadb-datadir
Fix setting datadir to alternate dir with mariadb
2016-12-25 10:50:11 -08:00
Brian Jackson
fe57f5981f Merge pull request #155 from saltstack-formulas/fix_mysql.config
Fix mysql.config for client only installations.
2016-12-25 10:47:42 -08:00
Rene Jochum
df40904786 Fix mysql.config for client only installations.
Signed-off-by: Rene Jochum <rene@jochums.at>
2016-12-25 16:24:25 +01:00
Sander Cornelissen
7a2b76f455 Do not pin on mysql-server as server name as mysql-community-server could also be used 2016-12-19 17:38:35 +01:00
Sander Cornelissen
786bde93fe Fix setting datadir to alternate dir with mariadb 2016-12-19 17:00:59 +01:00
Forrest
75277fec87 Merge pull request #153 from srse/gentoo_fixes
mysql.server formula fixes for gentoo
2016-12-09 09:11:42 -08:00
Sarah Rose
c371ff7f14 mysql.server formula fixes for gentoo
mysql.server formula failed on gentoo because of hard-coded pid-file (pid_file is not detected as declared for gentoo defaults.yaml because the variable name for the pid-file is hard-coded in the init.d script installed by standard dev-db/mysql ebuild as pid-file (not pid_file)).
mysql.server formula also failed because it was missing the  step. This commit adds this as an alternative mysql_initialize step for the gentoo os_family.
2016-12-09 15:32:24 +01:00
Forrest
c809d5f59b Merge pull request #148 from devopxteam/centos-rhel-fix
Fix #147
2016-11-17 09:19:13 -08:00
Forrest
deb4c65a3e Merge pull request #150 from devopxteam/kitchen-test
Initial configuration of automated tests
2016-10-29 15:03:46 -07:00
Andres Montalban
e29b770f20 Initial configuration of automated tests 2016-10-29 10:41:23 -03:00
Andres Montalban
39a996effd Fix #147 - Wrong CentOS/RHEL 7 defaults and state failure when mysql.version is not defined 2016-10-29 10:25:37 -03:00
Forrest
5a50911bc5 Merge pull request #146 from S-Wilhelm/master
Fix server.sls version check on Debian
2016-10-10 14:52:01 -07:00
S-Wilhelm
efe9acc1d9 Update server.sls
Attempted fix for saltstack-formulas/mysql-formula#142
2016-10-10 17:02:59 -04:00
Forrest
5bf3cb6970 Merge pull request #145 from replicant0wnz/datadir
Made datadir dynamic
2016-10-09 11:37:30 -07:00
Glenn E. Bailey III
f56f39b113 Made datadir dynamic 2016-10-09 18:25:43 +00:00
Forrest
5c66c41673 Merge pull request #143 from lesykm/master
add ability to specify repeating keys
2016-10-02 11:59:10 -07:00
Mikhail Lesyk
2ca2e8b04d add ability to specify repating keys
example:
binlog-ignore-db:
 - mysql
 - sys
 - information_schema
 - performance_schema
2016-10-02 13:43:22 +03:00
Niels Abspoel
07ab6881e2 Merge pull request #122 from moje-skoly/master
Fixed formula on Debian where mysql_root_password state is not present.
2016-10-02 10:29:30 +02:00
Forrest
88cbde3c83 Merge pull request #141 from Routhinator/add_official_repo_state
Add official repo state
2016-09-18 15:10:33 -07:00
Chris Routh
c326f7588e Initial commit of mysql.repo state and docs. 2016-09-18 14:26:04 -07:00
Chris Routh
bb9373f4f4 Merge pull request #2 from saltstack-formulas/master
Pull latest from mysql-formula
2016-09-18 14:21:01 -07:00
Chris Routh
3b5ef19c34 Merge pull request #1 from Routhinator/initialize_57_before_start
Initialize 57 before start
2016-09-18 14:19:38 -07:00
Forrest
3b228c7276 Merge pull request #140 from Routhinator/initialize_57_before_start
Adjust check to mysql.version due to compile fail on Arch.
2016-09-15 22:40:04 -07:00
Chris Routh
6ff6974640 Adjust check to mysql.version due to compile fail on Arch. 2016-09-15 22:12:15 -07:00
Forrest
60a9b57deb Merge pull request #139 from Routhinator/initialize_57_before_start
Check for MySQL 5.7 and act appropriately on Redhat/Arch
2016-09-14 09:27:07 -07:00
Chris Routh
ff728b2d22 Check for MySQL 5.7 and act appropriately on Redhat/Arch 2016-09-14 08:27:20 -07:00
Forrest
59fd786975 Merge pull request #138 from irtnog/add-schema-context
Feature setting the template context from the mysql:schema pillar
2016-09-11 12:33:17 -07:00
Matthew X. Economou
0611f52616
Add two examples of using the template context 2016-09-11 06:27:51 -04:00
Matthew X. Economou
3e20211d72
Feature setting the template context from the mysql:schema pillar
This simplifies how schema files can be templated, especially when using
the same template to set up multiple databases on the same server.
2016-09-11 06:09:59 -04:00
Forrest
a55beda83f Merge pull request #136 from joejulian/fix_tmp
Set environment temp directory to /tmp
2016-09-07 11:06:42 -07:00
Forrest
740034db89 Merge pull request #137 from joejulian/fix_grant
Fix broken GRANT when not ssl
2016-09-07 11:06:26 -07:00
Joe Julian
25167dea79 Set environment temp directory to /tmp
Some distros set the environment variable for the temp directory to
/tmp/$USER which is owned by $USER mode 700. This prevents the
mysql user from being able to access the temporary files it needs.
2016-09-07 09:37:35 -07:00
Joe Julian
703388ec05 Fix broken GRANT when not ssl
if ssl_option is not False, mysql_grant.present adds "REQUIRE" to the
grant command but since all the ssl sub options are false or missing,
there is a null string appended to the requirements. This causes the
grant command to fail.

This tests to see if ssl or X509 are set. If they're not, it skips the
entire ssl_option section leaving ssl_option==False to prevent that
error.
2016-09-07 09:32:55 -07:00
Niels Abspoel
c6674034ee Merge pull request #135 from toanju/fix-defaults
galera: fix invalid default
2016-08-31 16:27:36 +02:00
Tobias Jungel
55f14c2689 galera: fix invalid default
wsrep_notify_cmd cannot be without a value
2016-08-31 16:23:34 +02:00
Forrest
a5e5b8c544 Merge pull request #134 from toanju/add_galera_config
Adding galera config file
2016-08-30 09:41:14 -07:00
Tobias Jungel
6e123c1017 Adding galera config file
Added galera.cnf to support configuration of galera setups. Defaults
were added for Fedora based on Fedora 23 configuration defaults.
2016-08-30 09:21:19 +02:00
Forrest
f453abc465 Merge pull request #133 from toanju/update-sections
allow section galera to be configured
2016-08-28 11:15:57 -07:00
Forrest
ce2eebd521 Merge pull request #132 from toanju/fix-pid-default
prevent multiple configuration of pid file
2016-08-28 11:15:42 -07:00
Tobias Jungel
11a9e9893b allow section galera to be configured 2016-08-28 14:47:25 +02:00
Tobias Jungel
345bd16148 prevent multiple configuration of pid file
update default of pid-file to pid_file. Otherwise pid-file ends up always
in server.cnf and cannot be overriden, since all keys are modified to
use only underscores.
2016-08-28 14:40:07 +02:00
Forrest
78ef0b738b Merge pull request #129 from stokbaek/master
Added support for require SSL on user creation
2016-08-16 09:12:22 -07:00
Christoffer Stokbaek
0afbd11a21 Added pillar data for SSL option 2016-08-16 14:19:53 +02:00
Christoffer Stokbaek
f0f65c9248 Added support for require SSL on user creation 2016-08-15 13:24:40 +02:00
Forrest
04c8db5fc0 Merge pull request #128 from dijit/master
This default is not overridden properly for some reason
2016-08-04 11:10:01 -07:00
Jan Harasym
3318edd436 This default is not overridden properly for some reason 2016-08-04 11:26:22 +02:00
Tomáš Fejfar
0572bc39bf RHEL & Suse condition is correctly evaluated 2016-06-11 16:58:03 +02:00