Commit graph

309 commits

Author SHA1 Message Date
Adrien "ze" Urban
bb17c3c512 debian: debconf root password, support for percona
Default values available for percona-server-server.
2018-06-07 16:03:01 +02:00
Adrien "ze" Urban
afae4c54b7 debian: debconf key in pillar
Allow debconf keys to be changed via pillars.
Useful when using non-standard packages that use different debconf keys to set
their passwords.
2018-06-07 16:02:55 +02:00
Niels Abspoel
ec3ae803bf
Merge pull request #183 from cboltz/suse-python-pkg-name
Make SUSE package name compatible with Leap 42.x
2018-04-26 12:10:53 +02:00
Christian Boltz
af621bce24
Make SUSE package name compatible with Leap 42.x
python2-pymysql exists only in Leap 15 and Tumbleweed.

Up to Leap 42.3, the package is named python-pymysql.
2018-04-25 21:53:52 +02:00
Niels Abspoel
78b1293b64
Merge pull request #182 from cboltz/master
Fix unbalanced if/endif
2018-04-25 21:32:17 +02:00
Christian Boltz
134130025f
Fix unbalanced if/endif
Commit 89985f7485 added a {% if ... %}
without the closing {% endif %} which leads to a Jinja syntax error.

This commit adds the missing {% endif %}
2018-04-25 20:45:31 +02:00
Niels Abspoel
b38e983bf0
Merge pull request #181 from babilen/dev-mariadb-support
Default to MariaDB packages on Debian releases after stretch
2018-04-23 22:11:18 +02:00
Wolodja Wentland
89985f7485 Default to MariaDB packages on Debian releases after stretch 2018-04-23 16:20:05 +01:00
alxwr
f777aeb891
Merge pull request #179 from saltstack-formulas/freebsd-support
FreeBSD support & opt-in state to enforce root password
2018-03-26 12:13:49 +02:00
alxwr
95c58871f6
Merge pull request #177 from Achimh3011/fix-command-prompt-when-loading-schema
Avoid -p option if password is empty.
2018-03-19 21:59:19 +01:00
Alexander Weidinger
0bcfd7f259 mysql_root_password: use server:host 2018-03-16 23:48:25 +01:00
Alexander Weidinger
3f4b8ea6ea mysql.remove_test_database: use connection_host 2018-03-16 23:41:52 +01:00
Alexander Weidinger
dd1e52761d mysql.server_checks: enforce root password 2018-03-14 23:34:34 +01:00
Alexander Weidinger
5e6708dd49 FreeBSD: change root password 2018-03-14 22:30:46 +01:00
Alexander Weidinger
ec8b076cb9 FreeBSD: correct default value for 'python' 2018-03-14 22:30:20 +01:00
Alexander Weidinger
239a2aae05 Fix lookup docs in pillar.example 2018-03-14 21:55:24 +01:00
Achim Herwig
e5e55c74ad Avoid -p option if password is empty.
Fixes #176
2018-02-21 21:55:09 +01:00
Daniel Wallace
31844ed13c
Merge pull request #174 from saltstack-formulas/gtmanfred-patch-1
fix duplicate key in gentoo
2018-02-06 10:15:16 -07:00
Daniel Wallace
1453641cbc
fix duplicate key in gentoo 2018-02-06 10:13:05 -07:00
Niels Abspoel
dc263724d4
Merge pull request #173 from edusperoni/charset-collate
Added charset and collate support when creating database
2018-02-02 16:18:47 +01:00
Eduardo Speroni
71c12e4a27 Added charset and collate support, ensuring backwards compatibility 2018-02-02 11:51:32 -02:00
Niels Abspoel
6403ba2e57
Merge pull request #170 from aboe76/fix_suse
fix python package suse
2018-01-06 21:25:13 +01:00
Niels Abspoel
11d11da928 fix python package suse 2018-01-05 20:46:17 +01:00
Daniel Wallace
4ccb8a1f57 Merge pull request #169 from gtmanfred/master
osmajorrelease is an int now
2017-09-22 16:17:12 -06:00
Daniel Wallace
41044a4698
osmajorrelease is an int now 2017-09-21 08:45:35 -06:00
Niels Abspoel
24d74d5731 Merge pull request #167 from jcu-eresearch/fix-fqdn
Fix duplicate ID if fqdn is localhost/localhost.localdomain
2017-08-03 09:51:24 +02:00
David Beitey
8dd3d4da46 Fix duplicate ID if fqdn is localhost/localhost.localdomain 2017-08-03 17:41:27 +10:00
Niels Abspoel
c9b45bc267 Merge pull request #164 from johnnyrun/host_users
honorate mysql:server:host as in user declaration
2017-05-23 10:53:46 +02:00
Gianni Carabelli
a6c057d63c honorate mysql:server:host as in user declaration 2017-05-15 12:00:36 +02:00
Christian Boltz
7ec43ad3c9 Fix two issues when using a salt_user (#163)
This fixes https://github.com/saltstack-formulas/mysql-formula/issues/157

* Avoid failures on first run with a salt_user defined

Add a dependency on sls: mysql.salt-user to ensure MySQL users
(especially the salt_user) get created early enough - without that,
parts of the first run will fail (but a second run works).
2017-03-09 22:16:34 +01:00
Javier Bértoli
035c4a8299 Merge pull request #162 from Cloudtek/mysql-community-server-rpm-hash-fix
Update hash for MySQL community server RPM repo
2017-02-21 18:54:47 -03:00
Aaron Miller
9981b8240e Update hash for MySQL community server RPM repo 2017-02-21 13:51:47 -08:00
Wolodja Wentland
79e6c8d7e4 Merge pull request #161 from aboe76/fix_opensuse
fix SUSE os grain
2017-02-08 11:40:11 +00:00
Niels Abspoel
8766718fd5 fix SUSE os grain 2017-02-05 21:33:59 +01:00
Niels Abspoel
7d46ad6653 Merge pull request #160 from babilen/dev-mariadb
Hardcode 'mysql-server' as debconf base path for root password
2017-01-25 20:18:30 +01:00
Wolodja Wentland
18ae5e5942 Hardcode 'mysql-server' as debconf base path for root password
This is needed for correctly setting the root password when installing mariadb.
2017-01-24 16:05:08 +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