Merge pull request #33 from D3r3ck/master

Using the family instead the operating system
This commit is contained in:
Nitin Madhok 2014-09-28 03:57:45 -04:00
commit d1011db3f9

View file

@ -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