mirror of
https://github.com/saltstack-formulas/mysql-formula.git
synced 2025-04-16 01:30: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/
|
||||||
kitchen.vagrant.yml
|
kitchen.vagrant.yml
|
||||||
mysql/supported_sections.yaml
|
mysql/supported_sections.yaml
|
||||||
|
mysql/osfingermap.yaml
|
||||||
|
|
||||||
yaml-files:
|
yaml-files:
|
||||||
# Default settings
|
# Default settings
|
||||||
|
|
|
@ -62,7 +62,11 @@ CentOS-6:
|
||||||
pythonpkg: MySQL-python
|
pythonpkg: MySQL-python
|
||||||
CentOS Linux-7:
|
CentOS Linux-7:
|
||||||
# https://mariadb.com/blog/rhel7-transition-mysql-mariadb-first-look
|
# 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
|
pythonpkg: MySQL-python
|
||||||
|
{%- endif %}
|
||||||
serverpkg: mariadb-server
|
serverpkg: mariadb-server
|
||||||
service: mariadb
|
service: mariadb
|
||||||
clientpkg: mariadb
|
clientpkg: mariadb
|
||||||
|
|
Loading…
Add table
Reference in a new issue