mirror of
https://github.com/saltstack-formulas/mysql-formula.git
synced 2025-04-15 17:20:25 +00:00
fix(redhat): update python library, add missing deps
This commit is contained in:
parent
fb3300bc07
commit
3cab000c89
3 changed files with 13 additions and 4 deletions
|
@ -39,7 +39,7 @@ Debian:
|
|||
RedHat:
|
||||
service: mysqld
|
||||
clientpkg: mysql
|
||||
pythonpkg: MySQL-python
|
||||
pythonpkg: python3-PyMySQL
|
||||
config:
|
||||
file: /etc/my.cnf
|
||||
sections:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue