initial commit

This commit is contained in:
Martin Hoefling
2015-05-01 23:22:41 +02:00
commit 4636e6cfe0
7 changed files with 85 additions and 0 deletions
View File
+8
View File
@@ -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
+7
View File
@@ -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')) %}