mirror of
https://github.com/saltstack-formulas/mysql-formula.git
synced 2025-04-15 17:20:25 +00:00
Merge pull request #72 from aboe76/opensuse_support
added opensuse support
This commit is contained in:
commit
6c3161a340
3 changed files with 24 additions and 1 deletions
|
@ -148,6 +148,28 @@ Fedora:
|
|||
port: 3306
|
||||
bind_address: 127.0.0.1
|
||||
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:
|
||||
server: mysql-server
|
||||
client: mysql
|
||||
|
|
|
@ -24,7 +24,7 @@ mysql_debconf:
|
|||
- pkg: mysqld
|
||||
- require:
|
||||
- pkg: mysql_debconf_utils
|
||||
{% elif os_family == 'RedHat' %}
|
||||
{% elif os_family == 'RedHat' or 'Suse' %}
|
||||
mysql_root_password:
|
||||
cmd.run:
|
||||
- name: mysqladmin --user root password '{{ mysql_root_password|replace("'", "'\"'\"'") }}'
|
||||
|
|
|
@ -13,4 +13,5 @@
|
|||
- myisamchk
|
||||
- isamchk
|
||||
- mysqld
|
||||
- mysqld_multi
|
||||
{% endload %}
|
||||
|
|
Loading…
Add table
Reference in a new issue