From 77b07bb6f8901d39ce52ce7a3e95a11cfa0ce3c3 Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Tue, 5 May 2020 23:02:50 -0400 Subject: [PATCH] Fix location for files --- setup/so-functions | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup/so-functions b/setup/so-functions index 73ef1f50f..cebd1d86c 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -708,7 +708,7 @@ fireeye_pillar() { # Generate Firewall Templates firewall_generate_templates() { - local firewall_pillar_path=/opt/so/saltstack/salt/firewall + local firewall_pillar_path=/opt/so/saltstack/salt/firewall/ mkdir -p "$firewall_pillar_path" for i in analyst beats_endpoint forward_nodes masterfw minions osquery_endpoints search_nodes wazuh_endpoint @@ -716,7 +716,8 @@ firewall_generate_templates() { printf '%s\n'\ "$i:"\ " - 127.0.0.1"\ - "" > "$firewall_pillar_path"/$i.sls + "" > "$firewall_pillar_path"$i.sls + echo "Added $i Template" done }