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