Don't source so-elastic-fleet-common if not there

This commit is contained in:
weslambert authored and GitHub committed 2023-11-02 16:41:34 -04:00
1 parent 6332df04d1
commit 51e7861757
1 file changed
+3 -1
@@ -9,7 +9,9 @@
. /usr/sbin/so-common
{% if GLOBALS.role != 'so-heavynode' %}
. /usr/sbin/so-elastic-fleet-common
if [ -f /usr/sbin/so-elastic-fleet-common ]; then
. /usr/sbin/so-elastic-fleet-common
fi
{% endif %}
default_conf_dir=/opt/so/conf