openstack-ansible-repo_server/templates/lsyncd.defaults.j2
Major Hayden c43efe58fc
Add LSYNCD_OPTIONS for CentOS
The lsyncd daemon on CentOS can't find the location of its
configuration file because the LSYNCD_OPTIONS variable is
missing in the defaults file.

Closes-bug: 1689965
Change-Id: I1dc24570f0d724cfe7b3338e04ad8cf50ed8b558
2017-05-10 19:20:05 -04:00

6 lines
174 B
Django/Jinja

{% if ansible_os_family == 'Debian' %}
DAEMON_ARGS="$DAEMON_ARGS -insist"
{% elif ansible_os_family == 'RedHat' %}
LSYNCD_OPTIONS="{{ repo_lsyncd_config_file }}"
{% endif %}