paulbsd-salt/states/rsync/rsyncd.conf.j2
2023-01-04 23:34:26 +01:00

14 lines
396 B
Django/Jinja

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