paulbsd-salt/states/mariadb/templates/server.cnf.j2
2023-08-26 09:48:32 +02: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.server.items() %}
[{{ section }}]
{%- for key, value in elems.options.items() %}
{{ key }}={{ value }}
{%- endfor %}
{%- endfor %}