paulbsd-salt/states/rsync/rsyncd.conf.j2

12 lines
383 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
{%- from "rsync/map.jinja" import rsync with context %}
{% 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 %}