diff --git a/setup/so-functions b/setup/so-functions index 085621acd..ba00ea5b7 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -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