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:
|
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:
|
||||||
# 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:
|
||||||
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:
|
||||||
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 @@
|
||||||
|
|
||||||
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:
|
||||||
- connection_pass: '{{ mysql_salt_pass }}'
|
- connection_pass: '{{ mysql_salt_pass }}'
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
- connection_charset: utf8
|
- connection_charset: utf8
|
||||||
|
- require:
|
||||||
|
- service: mysqld-service-running
|
||||||
|
|
Loading…
Add table
Reference in a new issue