From 2642968089d3a705c9988b396aa3f9b450bfc421 Mon Sep 17 00:00:00 2001 From: William Wernert Date: Thu, 14 May 2020 11:50:16 -0400 Subject: [PATCH] [fix] Correct wazuh + suricata pillar placement --- setup/so-functions | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/setup/so-functions b/setup/so-functions index 0a6281fff..d2c45f2f9 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -823,11 +823,9 @@ master_pillar() { " cur_close_days: $CURCLOSEDAYS"\ " grafana: $GRAFANA"\ " osquery: $OSQUERY"\ - " wazuh: $WAZUH"\ " thehive: $THEHIVE"\ " playbook: $PLAYBOOK"\ " navigator: $NAVIGATOR"\ - " strelka: $STRELKA"\ ""\ "kratos:" >> "$pillar_file" @@ -882,10 +880,10 @@ master_static() { " fleet_ip: N/A"\ " sensoronikey: $SENSORONIKEY"\ " strelka: $STRELKA"\ - " wazuh: $WAZUH"\ - " masterupdate: $MASTERUPDATES" > "$static_pillar" - echo "elastic:" >> /opt/so/saltstack/pillar/static.sls - echo " features: False" >> /opt/so/saltstack/pillar/static.sls + " wazuh: $WAZUH"\ + " masterupdate: $MASTERUPDATES"\ + "elastic:"\ + " features: False" > "$static_pillar" printf '%s\n' '----' >> "$setup_log" 2>&1 cat "$static_pillar" >> "$setup_log" 2>&1