Merge pull request #183 from cboltz/suse-python-pkg-name

Make SUSE package name compatible with Leap 42.x
This commit is contained in:
Niels Abspoel 2018-04-26 12:10:53 +02:00 committed by GitHub
commit ec3ae803bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -208,7 +208,12 @@ SUSE:
server: mariadb
client: mariadb-client
service: mysql
python: python2-PyMySQL
{%- if salt['grains.get']('osmajorrelease')|int == 42 %}
# "old" package name up to Leap 42.x
python: python-PyMySQL
{% else %}
python: python2-pymysql
{% endif %}
config:
file: /etc/my.cnf
sections: