mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
move jinja to top
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
{% import_yaml '/opt/so/saltstack/local/pillar/global/soc_global.sls' as SOC_GLOBAL %}
|
||||||
|
{% if SOC_GLOBAL.global.airgap %}
|
||||||
|
{% set UPDATE_DIR='/tmp/soagupdate/SecurityOnion' %}
|
||||||
|
{% else %}
|
||||||
|
{% set UPDATE_DIR='/tmp/sogh/securityonion' %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
remove_common_soup:
|
remove_common_soup:
|
||||||
file.absent:
|
file.absent:
|
||||||
- name: /opt/so/saltstack/default/salt/common/tools/sbin/soup
|
- name: /opt/so/saltstack/default/salt/common/tools/sbin/soup
|
||||||
@@ -6,13 +13,6 @@ remove_common_so-firewall:
|
|||||||
file.absent:
|
file.absent:
|
||||||
- name: /opt/so/saltstack/default/salt/common/tools/sbin/so-firewall
|
- name: /opt/so/saltstack/default/salt/common/tools/sbin/so-firewall
|
||||||
|
|
||||||
{% import_yaml '/opt/so/saltstack/local/pillar/global/soc_global.sls' as SOC_GLOBAL %}
|
|
||||||
{% if SOC_GLOBAL.global.airgap %}
|
|
||||||
{% set UPDATE_DIR='/tmp/soagupdate/SecurityOnion' %}
|
|
||||||
{% else %}
|
|
||||||
{% set UPDATE_DIR='/tmp/sogh/securityonion' %}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
copy_so-common_common_tools_sbin:
|
copy_so-common_common_tools_sbin:
|
||||||
file.copy:
|
file.copy:
|
||||||
- name: /opt/so/saltstack/default/salt/common/tools/sbin/so-common
|
- name: /opt/so/saltstack/default/salt/common/tools/sbin/so-common
|
||||||
|
|||||||
Reference in New Issue
Block a user