mirror of
https://github.com/saltstack-formulas/rsyncd-formula.git
synced 2026-09-22 07:57:28 +02:00
initial commit
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
{% from "template/map.jinja" import template with context %}
|
||||
|
||||
template:
|
||||
pkg.installed:
|
||||
- name: {{ template.pkg }}
|
||||
service.running:
|
||||
- name: {{ template.service }}
|
||||
- enable: True
|
||||
@@ -0,0 +1,7 @@
|
||||
{% set rsync = salt['grains.filter_by']({
|
||||
'Debian': {
|
||||
'pkg': 'rsyncd',
|
||||
'service': 'rsyncd',
|
||||
'config': '/etc/rsyncd.conf',
|
||||
},
|
||||
}, merge=salt['pillar.get']('rsync:lookup')) %}
|
||||
Reference in New Issue
Block a user