mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-09 18:52:52 +01:00
add some deps
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user