updated mariadb state
This commit is contained in:
parent
8fb956a7e2
commit
4eaf26944f
@ -3,7 +3,7 @@
|
||||
mariadb-config:
|
||||
file.managed:
|
||||
- name: /etc/mysql/mariadb.conf.d/51-server.cnf
|
||||
- source: salt://mariadb/server.cnf.j2
|
||||
- source: salt://mariadb/templates/server.cnf.j2
|
||||
- user: root
|
||||
- group: root
|
||||
- mode: 0644
|
||||
|
@ -8,7 +8,6 @@ mariadb:
|
||||
users: {}
|
||||
config:
|
||||
mysqld:
|
||||
name: mysqld
|
||||
options:
|
||||
bind_address: 0.0.0.0
|
||||
binlog_format: ROW
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
{%- from "mariadb/map.jinja" import mariadb with context -%}
|
||||
{%- for section, elems in mariadb.config.items() %}
|
||||
[{{ elems.name }}]
|
||||
[{{ section }}]
|
||||
{%- for key, value in elems.options.items() %}
|
||||
{{ key }}={{ value }}
|
||||
{{ key }}={{ value }}
|
||||
{%- endfor %}
|
||||
{%- endfor %}
|
||||
{%- endfor %}
|
Loading…
Reference in New Issue
Block a user