Merge pull request #11701 from Security-Onion-Solutions/fix/elastic_templates_common

Don't source so-elastic-fleet-common if not there
This commit is contained in:
weslambert
2023-11-02 16:43:27 -04:00
committed by GitHub

View File

@@ -9,7 +9,9 @@
. /usr/sbin/so-common . /usr/sbin/so-common
{% if GLOBALS.role != 'so-heavynode' %} {% if GLOBALS.role != 'so-heavynode' %}
if [ -f /usr/sbin/so-elastic-fleet-common ]; then
. /usr/sbin/so-elastic-fleet-common . /usr/sbin/so-elastic-fleet-common
fi
{% endif %} {% endif %}
default_conf_dir=/opt/so/conf default_conf_dir=/opt/so/conf