blob: f702799f01ca7fc6d2016c1e439354d8898e7b3e [file] [log] [blame]
Ales Komarek9f5c0072014-04-02 14:33:40 +02001
Ales Komarekc56c1992014-04-02 20:15:08 +02002{% set server = salt['grains.filter_by']({
Ales Komarek9f5c0072014-04-02 14:33:40 +02003 'Debian': {
4 'pkgs': ['rsync'],
5 'service': 'rsyncd',
6 'user': 'root',
7 'group': 'root',
8 },
9 'RedHat': {
Ales Komarek15156ed2014-04-02 17:12:43 +020010 'pkgs': ['rsync', 'xinetd'],
11 'service': 'xinetd',
Ales Komarek9f5c0072014-04-02 14:33:40 +020012 'user': 'root',
13 'group': 'root',
14 },
15}, merge=salt['pillar.get']('rsync:server')) %}