mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-01-09 01:34:12 +01:00
pass in UPDATE_DIR as a pillar
This commit is contained in:
@@ -6,11 +6,8 @@ remove_common_so-firewall:
|
||||
file.absent:
|
||||
- name: /opt/so/saltstack/default/salt/common/tools/sbin/so-firewall
|
||||
|
||||
{% if salt['pillar.get']('global:airgap') %}
|
||||
{% set UPDATE_DIR='/tmp/soagupdate/SecurityOnion'%}
|
||||
{% else %}
|
||||
{% set UPDATE_DIR='/tmp/sogh/securityonion'%}
|
||||
{% endif %}
|
||||
{# this pillar isn't defined anywhere. it is passed in from soup when the state is called #}
|
||||
{% set UPDATE_DIR= salt['pillar.get']('UPDATE_DIR') %}
|
||||
|
||||
copy_so-common_common_tools_sbin:
|
||||
file.copy:
|
||||
|
||||
Reference in New Issue
Block a user