From df1b564d174491f107a91dd5c7e742295051e928 Mon Sep 17 00:00:00 2001 From: Doug Burks Date: Mon, 19 Dec 2022 10:30:29 -0500 Subject: [PATCH] Replace hardcoded URL in so-analyst-install with new $DOC_BASE_URL variable from so-common --- salt/common/tools/sbin/so-analyst-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/common/tools/sbin/so-analyst-install b/salt/common/tools/sbin/so-analyst-install index c49cb015b..f4eef07fa 100755 --- a/salt/common/tools/sbin/so-analyst-install +++ b/salt/common/tools/sbin/so-analyst-install @@ -6,13 +6,13 @@ # Elastic License 2.0. -doc_workstation_url="https://docs.securityonion.net/en/2.4/analyst-vm.html" {# we only want the script to install the workstation if it is CentOS -#} {% if grains.os == 'CentOS' -%} {# if this is a manager -#} {% if grains.master == grains.id.split('_')|first -%} source /usr/sbin/so-common +doc_workstation_url="$DOC_BASE_URL/analyst-vm.html" pillar_file="/opt/so/saltstack/local/pillar/minions/{{grains.id}}.sls" if [ -f "$pillar_file" ]; then