mirror of
https://github.com/saltstack-formulas/rsyncd-formula.git
synced 2024-12-18 06:43:06 +01:00
15 lines
415 B
Django/Jinja
15 lines
415 B
Django/Jinja
{% set rsyncd = salt['grains.filter_by']({
|
|
'Debian': {
|
|
'pkg': 'rsync',
|
|
'service': 'rsync',
|
|
'configfile': '/etc/rsyncd.conf',
|
|
'secretsfile': '/etc/rsyncd.secrets'
|
|
},
|
|
'Arch': {
|
|
'pkg': 'rsync',
|
|
'service': 'rsyncd',
|
|
'configfile': '/etc/rsyncd.conf',
|
|
'secretsfile': '/etc/rsyncd.secrets'
|
|
},
|
|
}, merge=salt['pillar.get']('rsyncd:lookup')) %}
|