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