[bradm] Tweaked hook to grab all the rsyncd fragments
This commit is contained in:
parent
5727c68515
commit
0888ca5b6c
|
@ -85,7 +85,7 @@ def config_changed():
|
||||||
|
|
||||||
# If basenode is not installed and managing rsyncd.conf, replicate
|
# If basenode is not installed and managing rsyncd.conf, replicate
|
||||||
# its core functionality. Otherwise concat files
|
# its core functionality. Otherwise concat files
|
||||||
if not os.path.exists('/etc/rsyncd.d/001-basenode'):
|
if not os.path.exists('/etc/rsyncd.d/001-baseconfig'):
|
||||||
with open('/etc/rsyncd.d/001-baseconfig') as _in:
|
with open('/etc/rsyncd.d/001-baseconfig') as _in:
|
||||||
rsync_header = _in.read()
|
rsync_header = _in.read()
|
||||||
with open('/etc/rsyncd.d/050-swift-storage') as _in:
|
with open('/etc/rsyncd.d/050-swift-storage') as _in:
|
||||||
|
|
Loading…
Reference in New Issue