N
4b4ad882c8
feat(linux): archlinux support (no osmajorrelase grain)
2019-08-03 15:15:24 +01:00
N
78b00b6dca
Make apparmor standalone state .
2018-12-09 15:57:54 +00:00
N
bb8e64685c
Add server.apparmor state; rm unused dirs
2018-12-09 01:56:24 +00:00
N
a82f2c1bc0
Apparmor support
2018-12-06 10:52:47 +00:00
Heinz Wiesinger
624c7a8642
Make sure the config directory and files within are handled after install.
2018-11-14 17:42:48 +01:00
Heinz Wiesinger
b20ace26b5
RPM in mariadb repos is called 'MariaDB-server'.
2018-11-14 17:42:48 +01:00
N
4cdc21bc92
Add install/remove states for MacOS (downloads.mysql.com)
2018-10-02 09:33:02 +01:00
Alexander Weidinger
573f18c36b
cmd.run: use 'runas' instead of 'user'
2018-09-05 23:04:38 +02:00
Dominik Fišer
b8cf841e29
Replaced removed mysql.server with new mysql.serverpkg map property
2018-07-09 16:51:32 +02:00
N
1e826ea487
Introduce standardized mapping files
2018-06-24 14:37:18 +01:00
Marius Kotsbak
4a8a9bf69a
Make formula relative to actual directory by using 'tpldir'
2018-05-18 19:58:35 +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
Wolodja Wentland
89985f7485
Default to MariaDB packages on Debian releases after stretch
2018-04-23 16:20:05 +01:00
Alexander Weidinger
0bcfd7f259
mysql_root_password: use server:host
2018-03-16 23:48:25 +01:00
Alexander Weidinger
5e6708dd49
FreeBSD: change root password
2018-03-14 22:30:46 +01:00
David Beitey
8dd3d4da46
Fix duplicate ID if fqdn is localhost/localhost.localdomain
2017-08-03 17:41:27 +10: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
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
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
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
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
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
S-Wilhelm
efe9acc1d9
Update server.sls
...
Attempted fix for saltstack-formulas/mysql-formula#142
2016-10-10 17:02:59 -04:00
Glenn E. Bailey III
f56f39b113
Made datadir dynamic
2016-10-09 18:25:43 +00: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
Chris Routh
6ff6974640
Adjust check to mysql.version due to compile fail on Arch.
2016-09-15 22:12:15 -07:00
Chris Routh
ff728b2d22
Check for MySQL 5.7 and act appropriately on Redhat/Arch
2016-09-14 08:27:20 -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
Tomáš Fejfar
0572bc39bf
RHEL & Suse condition is correctly evaluated
2016-06-11 16:58:03 +02:00
Tomáš Fejfar
d3ec899409
RHEL & Suse condition is correctly evaluated
2016-06-09 18:50:10 +02:00
Niels Abspoel
b4cf406f13
fix archlinux package
2016-05-25 22:57:24 +02:00
Sarah Rose
6f429a89e2
fixed /etc/mysql/my.cnf creation failure in debian
...
the config file update depends on the parent directory /etc/mysql being present, which is created as part of the mysql-server package installation. therefore, the mysqld state is split up for debian environments into the package installation and the mysqld configuration. this allows to set the pkg installation as a requirement for the config file management and to set the config file management as a requirement for the mysqld service management
2016-04-12 17:43:54 +02:00
Nitin Madhok
8a59137dc4
Merge pull request #96 from M2Mobi/master
...
Add better support for a config directory with split config files.
2015-11-24 02:12:56 -05:00
Heinz Wiesinger
e72c1c12d3
Add states for optional dedicated salt user instead of root.
2015-10-08 17:40:04 +02:00
Heinz Wiesinger
0febad19c1
Add better support for a config directory with split config files.
...
This adds optional support for having split configuration files
within a config directory, most commonly /etc/my.cnf.d.
2015-10-05 21:50:19 +02:00
Gabriel Santos
27d9e68558
Fix empty "mysql_install_datadir" dict when OS family is not "Arch"
2015-09-30 02:34:24 -03:00
Roman Pertl
1d73a3582d
remove creation of logdir again
2015-09-29 20:03:00 +00:00
Roman Pertl
1319eaf7da
Revert "bugfix: remove anonymous accounts on all os, fix condition os_family for mysql root password"
...
This reverts commit 24f54ee98c
.
2015-09-29 19:46:58 +00:00
Roman Pertl
eac19e4e5f
fix auto creation of mysql initial data directory on arch linux; create logging directory
2015-09-29 19:46:15 +00:00
Roman Pertl
5b7aad5bc9
Arch Linux: create initial mysql data directory
2015-09-29 18:55:24 +00:00
Roman Pertl
429aba9ec9
Merge branch 'master' of https://github.com/saltstack-formulas/mysql-formula
2015-09-29 18:54:52 +00:00
Roman Pertl
24f54ee98c
bugfix: remove anonymous accounts on all os, fix condition os_family for mysql root password
2015-09-29 18:53:29 +00:00
Ron Williams
5da21111e4
Fix RedHat MySQL admin root password setup.
2015-09-18 00:26:24 -06:00
Phil Lavin
5d7b01a5e3
Use mysql.server variable instead of hardcoded mysql-server for debconf
2015-09-16 12:00:32 +01:00
Niels Abspoel
8e086fd21a
added opensuse support
2015-05-25 23:33:07 +02:00
Matthew X. Economou
524b6e981c
Allow changing connection_user by setting the 'mysql:server:root_user' Pillar key
...
In some MySQL server configurations (e.g., Amazon RDS), the root account
may not be available. Instead, one may need to use a different account
in order to perform database administration. This change replaced hard-
coded references to the root account with a Pillar lookup that defaults
to 'root'. Existing users of this formula should see no change in its
behavior.
2015-05-18 10:33:27 -04:00
Tobias Alex-Petersen
462c2f4034
Add possibility of using another host (for db and user management)
2015-04-15 19:40:39 +02:00
root
98b054fcf6
Official oracle mysql repo for mysql-server creates file /usr/my.cnf
...
That overrides default /etc/mysql/my.cnf parameters
Now if this file exists it bacame managed and empty
2015-02-11 02:21:31 +00:00