Move Wazuh from /opt/so/ to /nsm/wazuh

This commit is contained in:
Wes Lambert
2020-07-27 11:58:12 +00:00
parent 2d096ddd66
commit 958ee25f6d
5 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ local_salt_dir=/opt/so/saltstack/local
# Check if Wazuh enabled
if [ {{ WAZUH_ENABLED }} ]; then
WAZUH_MGR_CFG="/opt/so/wazuh/etc/ossec.conf"
WAZUH_MGR_CFG="/nsm/wazuh/etc/ossec.conf"
if ! grep -q "<white_list>{{ MANAGERIP }}</white_list>" $WAZUH_MGR_CFG ; then
DATE=`date`
sed -i 's/<\/ossec_config>//' $WAZUH_MGR_CFG