add some deps

This commit is contained in:
Mike Reeves
2023-02-17 13:11:13 -05:00
parent e7f35673e0
commit 4bb49ad617

View File

@@ -2009,21 +2009,15 @@ saltify() {
fi
if [[ $is_rocky ]]; then
RUSALTY=$(rpm -qa | grep salt-minion | wc -l)
if [[ "$RUSALTY" -gt 0 ]]; then
# Salt is already installed.
info "salt is installed"
# THIS IS A TEMP HACK
logCmd "dnf -y install securityonion-salt python3-chardet python3-idna python3-pysocks python3-requests python3-urllib3 python3-websocket-client python36-docker"
logCmd "mkdir -p /etc/salt/minion.d"
if [[ $waitforstate ]]; then
# Since this is a salt master so let's install it
logCmd ""
else
# THIS IS A TEMP HACK
logCmd "dnf -y install securityonion-salt"
logCmd "mkdir -p /etc/salt/minion.d"
if [[ $waitforstate ]]; then
# Since this is a salt master so let's install it
logCmd ""
else
# We just need the minion
logCmd "dnf -y install salt-minion"
fi
# We just need the minion
logCmd "dnf -y install salt-minion"
fi
fi