updated rsync state
This commit is contained in:
parent
dcaa6a715d
commit
74af25f096
@ -3,6 +3,7 @@ rsync:
|
|||||||
enabled: true
|
enabled: true
|
||||||
config:
|
config:
|
||||||
global:
|
global:
|
||||||
|
address: 127.0.0.1
|
||||||
uid: 'root'
|
uid: 'root'
|
||||||
gid: 'root'
|
gid: 'root'
|
||||||
use chroot: 'no'
|
use chroot: 'no'
|
||||||
@ -10,7 +11,7 @@ rsync:
|
|||||||
syslog facility: 4
|
syslog facility: 4
|
||||||
pid file: '/var/run/rsyncd.pid'
|
pid file: '/var/run/rsyncd.pid'
|
||||||
sections:
|
sections:
|
||||||
- name: 'tmp'
|
- name: 'tmppath'
|
||||||
settings:
|
settings:
|
||||||
path: '/tmp'
|
path: '/tmp/tmppath'
|
||||||
read only: 'yes'
|
read only: 'yes'
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
|
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
|
||||||
{%- from "rsync/map.jinja" import rsync with context %}
|
{%- from "rsync/map.jinja" import rsync with context %}
|
||||||
{% for key, value in rsync.config.global.items() %}
|
[global]
|
||||||
{{ key }} = {{ value }}
|
{%- for key, value in rsync.config.global.items() %}
|
||||||
|
{{ key }} = {{ value }}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
|
|
||||||
{% for section in rsync.config.sections -%}
|
{% for section in rsync.config.sections -%}
|
||||||
@ -9,4 +10,4 @@
|
|||||||
{%- for key, value in section.settings.items() %}
|
{%- for key, value in section.settings.items() %}
|
||||||
{{ key }} = {{ value }}
|
{{ key }} = {{ value }}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user