paulbsd-salt/states/mariadb/templates/server.cnf.j2
2023-03-10 00:03:08 +01:00

10 lines
295 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() %}
[{{ section }}]
{%- for key, value in elems.options.items() %}
{{ key }}={{ value }}
{%- endfor %}
{%- endfor %}