added opensuse support

This commit is contained in:
Niels Abspoel 2015-05-25 23:33:07 +02:00
parent 83aa37f055
commit 8e086fd21a
3 changed files with 24 additions and 1 deletions

View file

@ -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

View file

@ -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("'", "'\"'\"'") }}'

View file

@ -13,4 +13,5 @@
- myisamchk
- isamchk
- mysqld
- mysqld_multi
{% endload %}