Merge pull request #14593 from Security-Onion-Solutions/reyesj2/feat-254

missing globals.is_manager swap
This commit is contained in:
Jorge Reyes
2025-05-06 09:01:58 -05:00
committed by GitHub

View File

@@ -45,7 +45,7 @@ tgraf_sync_script_{{script}}:
GLOBALS: {{ GLOBALS }}
{% endfor %}
{% if GLOBALS.role in ['so-standalone', 'so-manager', 'so-managersearch', 'so-heavynode', 'so-eval', 'so-import'] %}
{% if GLOBALS.is_manager or GLOBALS.role == 'so-heavynode' %}
tgraf_sync_script_esindexsize.sh:
file.managed:
- name: /opt/so/conf/telegraf/scripts/esindexsize.sh