mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-04-02 02:41:51 +02:00
Fix soup_scripts.sls to handle 3.X versions instead of falling back to 2.3
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
# https://securityonion.net/license; you may not use this file except in compliance with the
|
||||
# Elastic License 2.0.
|
||||
|
||||
{% if '2.4' in salt['cp.get_file_str']('/etc/soversion') %}
|
||||
{% set soversion = salt['cp.get_file_str']('/etc/soversion') %}
|
||||
{% if '2.4' in soversion or soversion.startswith('3.') %}
|
||||
|
||||
{% import_yaml '/opt/so/saltstack/local/pillar/global/soc_global.sls' as SOC_GLOBAL %}
|
||||
{% if SOC_GLOBAL.global.airgap %}
|
||||
|
||||
Reference in New Issue
Block a user