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

14 lines
396 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 %}
2023-01-04 23:34:26 +01:00
[global]
{%- for key, value in rsync.config.global.items() %}
{{ key }} = {{ value }}
2020-07-10 00:58:55 +02:00
{%- endfor %}
{% for section in rsync.config.sections -%}
[{{ section.name }}]
{%- for key, value in section.settings.items() %}
{{ key }} = {{ value }}
{%- endfor %}
2023-01-04 23:34:26 +01:00
{%- endfor %}