ee0a6d5b37
If insist is not set to true then lsyncd will exit if it cannot perform an initial rsync to the target hosts. Due to the order in which the repo servers are configured, lsyncd may be installed and started on the first host in the repo_servers group before the ssh keys and other necessary configuration have been placed on the remaining hosts. This leads to a failure to start lsyncd. This patch moves the setting of insist into the lua config file for all operating systems, and removes the need to template a defaults file on debian derivatives. Change-Id: I26bb0e21d797c2bfbe67e03003da01c355c27561
2 lines
47 B
Django/Jinja
2 lines
47 B
Django/Jinja
LSYNCD_OPTIONS="{{ repo_lsyncd_config_file }}"
|