mirror of
https://github.com/saltstack-formulas/mysql-formula.git
synced 2025-04-15 17:20:25 +00:00
Merge pull request #33 from D3r3ck/master
Using the family instead the operating system
This commit is contained in:
commit
d1011db3f9
1 changed files with 4 additions and 0 deletions
|
@ -61,7 +61,11 @@ mysql_config:
|
|||
- watch_in:
|
||||
- service: mysqld
|
||||
{% if os_family in ['Debian', 'Gentoo', 'RedHat'] %}
|
||||
{% if os_family == 'RedHat' %}
|
||||
- source: salt://mysql/files/{{ os_family }}-my.cnf
|
||||
{% else %}
|
||||
- source: salt://mysql/files/{{ os }}-my.cnf
|
||||
{% endif %}
|
||||
- user: root
|
||||
- group: root
|
||||
- mode: 644
|
||||
|
|
Loading…
Add table
Reference in a new issue