paulbsd-salt/states/rsync/templates/rsyncd.conf.j2
Paul Lecuq a3b02771a4
All checks were successful
continuous-integration/drone/push Build is passing
created templates folder on each state
2023-03-11 10:08: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 %}