fix(centos7): add correct pymysql package on cent7/saltpy3

This commit is contained in:
noelmcloughlin 2021-06-09 23:13:53 +01:00
parent c62a74a264
commit 9722b02187
2 changed files with 5 additions and 0 deletions

View file

@ -20,6 +20,7 @@ ignore: |
.kitchen/
kitchen.vagrant.yml
mysql/supported_sections.yaml
mysql/osfingermap.yaml
yaml-files:
# Default settings

View file

@ -62,7 +62,11 @@ CentOS-6:
pythonpkg: MySQL-python
CentOS Linux-7:
# https://mariadb.com/blog/rhel7-transition-mysql-mariadb-first-look
{%- if 'pythonversion' in grains and grains.pythonversion[0]|int == 3 %}
pythonpkg: python36-PyMySQL # python36-mysql works too
{%- else %}
pythonpkg: MySQL-python
{%- endif %}
serverpkg: mariadb-server
service: mariadb
clientpkg: mariadb