Skip to content

Commit

Permalink
Merge pull request #72 from aboe76/opensuse_support
Browse files Browse the repository at this point in the history
added opensuse support
  • Loading branch information
gravyboat committed May 25, 2015
2 parents 83aa37f + 8e086fd commit 6c3161a
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
22 changes: 22 additions & 0 deletions mysql/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion mysql/server.sls
Original file line number Diff line number Diff line change
Expand Up @@ -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("'", "'\"'\"'") }}'
Expand Down
1 change: 1 addition & 0 deletions mysql/supported_sections.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@
- myisamchk
- isamchk
- mysqld
- mysqld_multi
{% endload %}

0 comments on commit 6c3161a

Please sign in to comment.