mirror of
https://github.com/saltstack-formulas/mysql-formula.git
synced 2025-04-15 17:20:25 +00:00
fix(centos7): add correct pymysql package on cent7/saltpy3
This commit is contained in:
parent
c62a74a264
commit
9722b02187
2 changed files with 5 additions and 0 deletions
|
@ -20,6 +20,7 @@ ignore: |
|
|||
.kitchen/
|
||||
kitchen.vagrant.yml
|
||||
mysql/supported_sections.yaml
|
||||
mysql/osfingermap.yaml
|
||||
|
||||
yaml-files:
|
||||
# Default settings
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue