mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Merge pull request #13245 from Security-Onion-Solutions/proxysoup
Fix soup for proxy servers
This commit is contained in:
@@ -57,6 +57,12 @@ copy_so-yaml_manager_tools_sbin:
|
|||||||
- force: True
|
- force: True
|
||||||
- preserve: True
|
- preserve: True
|
||||||
|
|
||||||
|
copy_so-repo-sync_manager_tools_sbin:
|
||||||
|
file.copy:
|
||||||
|
- name: /opt/so/saltstack/default/salt/manager/tools/sbin/so-repo-sync
|
||||||
|
- source: {{UPDATE_DIR}}/salt/manager/tools/sbin/so-repo-sync
|
||||||
|
- preserve: True
|
||||||
|
|
||||||
# This section is used to put the new script in place so that it can be called during soup.
|
# This section is used to put the new script in place so that it can be called during soup.
|
||||||
# It is faster than calling the states that normally manage them to put them in place.
|
# It is faster than calling the states that normally manage them to put them in place.
|
||||||
copy_so-common_sbin:
|
copy_so-common_sbin:
|
||||||
@@ -94,6 +100,13 @@ copy_so-yaml_sbin:
|
|||||||
- force: True
|
- force: True
|
||||||
- preserve: True
|
- preserve: True
|
||||||
|
|
||||||
|
copy_so-repo-sync_sbin:
|
||||||
|
file.copy:
|
||||||
|
- name: /usr/sbin/so-repo-sync
|
||||||
|
- source: {{UPDATE_DIR}}/salt/manager/tools/sbin/so-repo-sync
|
||||||
|
- force: True
|
||||||
|
- preserve: True
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
fix_23_soup_sbin:
|
fix_23_soup_sbin:
|
||||||
cmd.run:
|
cmd.run:
|
||||||
|
|||||||
@@ -31,6 +31,11 @@ if ! echo "$PATH" | grep -q "/usr/sbin"; then
|
|||||||
export PATH="$PATH:/usr/sbin"
|
export PATH="$PATH:/usr/sbin"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# See if a proxy is set. If so use it.
|
||||||
|
if [ -f /etc/profile.d/so-proxy.sh ]; then
|
||||||
|
. /etc/profile.d/so-proxy.sh
|
||||||
|
fi
|
||||||
|
|
||||||
# Define a banner to separate sections
|
# Define a banner to separate sections
|
||||||
banner="========================================================================="
|
banner="========================================================================="
|
||||||
|
|
||||||
|
|||||||
0
salt/manager/tools/sbin/so-elasticagent-status
Normal file → Executable file
0
salt/manager/tools/sbin/so-elasticagent-status
Normal file → Executable file
0
salt/manager/tools/sbin/so-repo-sync
Normal file → Executable file
0
salt/manager/tools/sbin/so-repo-sync
Normal file → Executable file
Reference in New Issue
Block a user