Skip to content
Snippets Groups Projects
Commit 3cab000c authored by Lenny Meerwood's avatar Lenny Meerwood
Browse files

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

parent fb3300bc
No related branches found
No related tags found
No related merge requests found
...@@ -39,7 +39,7 @@ Debian: ...@@ -39,7 +39,7 @@ Debian:
RedHat: RedHat:
service: mysqld service: mysqld
clientpkg: mysql clientpkg: mysql
pythonpkg: MySQL-python pythonpkg: python3-PyMySQL
config: config:
file: /etc/my.cnf file: /etc/my.cnf
sections: sections:
......
...@@ -42,8 +42,11 @@ Ubuntu-16.04: ...@@ -42,8 +42,11 @@ Ubuntu-16.04:
# devpkg: libmariadbclient-dev # devpkg: libmariadbclient-dev
# Redhat # Redhat
Red Hat Enterprise Linux Server-6:
pythonpkg: MySQL-python
Redhat-7: Redhat-7:
# https://mariadb.com/blog/rhel7-transition-mysql-mariadb-first-look # https://mariadb.com/blog/rhel7-transition-mysql-mariadb-first-look
pythonpkg: MySQL-python
serverpkg: mariadb-server serverpkg: mariadb-server
service: mariadb service: mariadb
clientpkg: mariadb clientpkg: mariadb
...@@ -53,9 +56,13 @@ Redhat-7: ...@@ -53,9 +56,13 @@ Redhat-7:
mysqld_safe: mysqld_safe:
log_error: /var/log/mariadb/mysqld.log log_error: /var/log/mariadb/mysqld.log
pid_file: /var/run/mariadb/mysqld.pid pid_file: /var/run/mariadb/mysqld.pid
# CentOS # CentOS
CentOS-6:
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
pythonpkg: MySQL-python
serverpkg: mariadb-server serverpkg: mariadb-server
service: mariadb service: mariadb
clientpkg: mariadb clientpkg: mariadb
...@@ -71,6 +78,5 @@ CentOS Linux-7: ...@@ -71,6 +78,5 @@ CentOS Linux-7:
log_error: /var/log/mariadb/mysqld.log log_error: /var/log/mariadb/mysqld.log
pid_file: /var/run/mariadb/mysqld.pid pid_file: /var/run/mariadb/mysqld.pid
# Suse CentOS Linux-8:
Leap-42: pythonpkg: python3-PyMySQL
pythonpkg: python-PyMySQL
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
include: include:
- .python - .python
- .server
mysql remove test database: mysql remove test database:
mysql_database.absent: mysql_database.absent:
...@@ -17,3 +18,5 @@ mysql remove test database: ...@@ -17,3 +18,5 @@ mysql remove test database:
- connection_pass: '{{ mysql_salt_pass }}' - connection_pass: '{{ mysql_salt_pass }}'
{%- endif %} {%- endif %}
- connection_charset: utf8 - connection_charset: utf8
- require:
- service: mysqld-service-running
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment