mirror of
https://github.com/saltstack-formulas/mysql-formula.git
synced 2025-04-17 10:10:30 +00:00
added opensuse support
This commit is contained in:
parent
83aa37f055
commit
8e086fd21a
3 changed files with 24 additions and 1 deletions
|
@ -148,6 +148,28 @@ Fedora:
|
||||||
port: 3306
|
port: 3306
|
||||||
bind_address: 127.0.0.1
|
bind_address: 127.0.0.1
|
||||||
symbolic_links: 0
|
symbolic_links: 0
|
||||||
|
openSUSE:
|
||||||
|
server: mariadb
|
||||||
|
client: mariadb-client
|
||||||
|
service: mysql
|
||||||
|
python: python-MySQL-python
|
||||||
|
config:
|
||||||
|
file: /etc/my.cnf
|
||||||
|
sections:
|
||||||
|
client:
|
||||||
|
port: 3306
|
||||||
|
socket: /var/run/mysql/mysql.sock
|
||||||
|
mysqld:
|
||||||
|
innodb_file_format: Barracuda
|
||||||
|
innodb_file_per_table: ON
|
||||||
|
server-id: 1
|
||||||
|
sql_mode: NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
|
||||||
|
mysqld_multi:
|
||||||
|
mysqld: /usr/bin/mysqld_safe
|
||||||
|
mysqladmin: /usr/bin/mysqladmin
|
||||||
|
log: /var/log/mysqld_multi.log
|
||||||
|
append: |
|
||||||
|
!includedir /etc/my.cnf.d
|
||||||
Amazon:
|
Amazon:
|
||||||
server: mysql-server
|
server: mysql-server
|
||||||
client: mysql
|
client: mysql
|
||||||
|
|
|
@ -24,7 +24,7 @@ mysql_debconf:
|
||||||
- pkg: mysqld
|
- pkg: mysqld
|
||||||
- require:
|
- require:
|
||||||
- pkg: mysql_debconf_utils
|
- pkg: mysql_debconf_utils
|
||||||
{% elif os_family == 'RedHat' %}
|
{% elif os_family == 'RedHat' or 'Suse' %}
|
||||||
mysql_root_password:
|
mysql_root_password:
|
||||||
cmd.run:
|
cmd.run:
|
||||||
- name: mysqladmin --user root password '{{ mysql_root_password|replace("'", "'\"'\"'") }}'
|
- name: mysqladmin --user root password '{{ mysql_root_password|replace("'", "'\"'\"'") }}'
|
||||||
|
|
|
@ -13,4 +13,5 @@
|
||||||
- myisamchk
|
- myisamchk
|
||||||
- isamchk
|
- isamchk
|
||||||
- mysqld
|
- mysqld
|
||||||
|
- mysqld_multi
|
||||||
{% endload %}
|
{% endload %}
|
||||||
|
|
Loading…
Add table
Reference in a new issue