fix(redhat): update python library, add missing deps

This commit is contained in:
Lenny Meerwood 2020-10-28 13:49:16 +10:00
parent fb3300bc07
commit 3cab000c89
3 changed files with 13 additions and 4 deletions

View file

@ -39,7 +39,7 @@ Debian:
RedHat:
service: mysqld
clientpkg: mysql
pythonpkg: MySQL-python
pythonpkg: python3-PyMySQL
config:
file: /etc/my.cnf
sections:

View file

@ -42,8 +42,11 @@ Ubuntu-16.04:
# devpkg: libmariadbclient-dev
# Redhat
Red Hat Enterprise Linux Server-6:
pythonpkg: MySQL-python
Redhat-7:
# https://mariadb.com/blog/rhel7-transition-mysql-mariadb-first-look
pythonpkg: MySQL-python
serverpkg: mariadb-server
service: mariadb
clientpkg: mariadb
@ -53,9 +56,13 @@ Redhat-7:
mysqld_safe:
log_error: /var/log/mariadb/mysqld.log
pid_file: /var/run/mariadb/mysqld.pid
# CentOS
CentOS-6:
pythonpkg: MySQL-python
CentOS Linux-7:
# https://mariadb.com/blog/rhel7-transition-mysql-mariadb-first-look
pythonpkg: MySQL-python
serverpkg: mariadb-server
service: mariadb
clientpkg: mariadb
@ -71,6 +78,5 @@ CentOS Linux-7:
log_error: /var/log/mariadb/mysqld.log
pid_file: /var/run/mariadb/mysqld.pid
# Suse
Leap-42:
pythonpkg: python-PyMySQL
CentOS Linux-8:
pythonpkg: python3-PyMySQL

View file

@ -6,6 +6,7 @@
include:
- .python
- .server
mysql remove test database:
mysql_database.absent:
@ -17,3 +18,5 @@ mysql remove test database:
- connection_pass: '{{ mysql_salt_pass }}'
{%- endif %}
- connection_charset: utf8
- require:
- service: mysqld-service-running