paulbsd-salt/states/mariadb/server.cnf.j2
2020-07-10 00:58:55 +02:00

9 lines
298 B
Django/Jinja

## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
{%- from "mariadb/map.jinja" import mariadb with context -%}
{%- for section, elems in mariadb.config.items() %}
[{{ elems.name }}]
{%- for key, value in elems.options.items() %}
{{ key }}={{ value }}
{%- endfor %}
{%- endfor %}