0
0
mirror of https://github.com/saltstack-formulas/rsyncd-formula.git synced 2024-12-18 06:43:06 +01:00
rsyncd-formula/rsyncd/map.jinja
2015-05-15 00:22:16 +02:00

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')) %}