remove wazuh-agent being installed during setup, let salt mage it

This commit is contained in:
m0duspwnens
2020-05-20 11:45:54 -04:00
parent e07f6af156
commit 4917d88db0

View File

@@ -433,12 +433,6 @@ fi
fi
if [[ "$WAZUH" = 1 ]]; then
if [ $OS = 'centos' ]; then
yum -y install wazuh-agent-3.10.2-1 >> "$setup_log" 2>&1
else
apt-get -y install wazuh-agent=3.10.2-1 >> "$setup_log" 2>&1
apt-mark hold wazuh-agent >> "$setup_log" 2>&1
fi
set_progress_str 75 "$(print_salt_state_apply 'wazuh')"
salt-call state.apply -l info wazuh >> $setup_log 2>&1
fi