Skip to content
Snippets Groups Projects
Commit 98b054fc authored by root's avatar root
Browse files

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
parent c8720ab6
No related branches found
No related tags found
No related merge requests found
# DO NOT CHANGE THIS FILE!
# This config is generated by SALTSTACK
# and all change will be overrided on next salt call
#
# this file was created by mysql-server package
# and replaced with saltstack
# to prevent default my.cnf parameters overriding
...@@ -78,3 +78,14 @@ mysql_config: ...@@ -78,3 +78,14 @@ mysql_config:
- group: root - group: root
- mode: 644 - mode: 644
{% endif %} {% endif %}
# official oracle mysql repo
# creates this file, that rewrites /etc/mysql/my.cnf setting
# so, make it empty
mysql_additional_config:
file.managed:
- name: /usr/my.cnf
- source: salt://mysql/files/usr-my.cnf
- create: False
- watch_in:
- service: mysqld
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment