[bradm] Tweaked hook to grab all the rsyncd fragments

This commit is contained in:
Brad Marshall 2014-10-30 17:10:47 +10:00
parent 5727c68515
commit 0888ca5b6c
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ def config_changed():
# If basenode is not installed and managing rsyncd.conf, replicate
# 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:
rsync_header = _in.read()
with open('/etc/rsyncd.d/050-swift-storage') as _in: