mirror of
https://github.com/valitydev/salt-common.git
synced 2024-11-06 02:15:20 +00:00
9dafba9fb6
sls/rsyncd: moved to common; sls/ssl: pki templates were moved to common;
28 lines
442 B
YAML
28 lines
442 B
YAML
# -*- mode: yaml -*-
|
|
|
|
rsync:
|
|
pkg.latest:
|
|
- name: 'net-misc/rsync'
|
|
|
|
/etc/rsyncd.conf:
|
|
file.managed:
|
|
- source: salt://rsyncd/rsyncd.conf
|
|
- mode: 644
|
|
- user: root
|
|
- group: root
|
|
|
|
/etc/rsyncd.d/:
|
|
file.directory:
|
|
- create: True
|
|
- mode: 755
|
|
- user: root
|
|
- group: root
|
|
|
|
rsyncd:
|
|
service.running:
|
|
- enable: True
|
|
- watch:
|
|
- pkg: rsync
|
|
- file: /etc/rsyncd.conf
|
|
- file: /etc/rsyncd.d/
|