mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-13 04:32:48 +01:00
change verison check to !=
This commit is contained in:
@@ -461,7 +461,7 @@ fi
|
|||||||
echo "Checking if Salt was upgraded."
|
echo "Checking if Salt was upgraded."
|
||||||
echo ""
|
echo ""
|
||||||
# Check that Salt was upgraded
|
# Check that Salt was upgraded
|
||||||
if [[ $(salt --versions-report | grep Salt: | awk {'print $2'}) == "$NEWSALTVERSION" ]]; then
|
if [[ $(salt --versions-report | grep Salt: | awk {'print $2'}) != "$NEWSALTVERSION" ]]; then
|
||||||
echo "Salt upgrade failed. Check of indicators of failure in $SOUP_LOG."
|
echo "Salt upgrade failed. Check of indicators of failure in $SOUP_LOG."
|
||||||
echo "Once the issue is resolved, run soup again."
|
echo "Once the issue is resolved, run soup again."
|
||||||
echo "Exiting."
|
echo "Exiting."
|
||||||
@@ -510,6 +510,7 @@ masterunlock
|
|||||||
echo ""
|
echo ""
|
||||||
echo "Starting Salt Master service."
|
echo "Starting Salt Master service."
|
||||||
systemctl start salt-master
|
systemctl start salt-master
|
||||||
|
echo "Running a highstate. This could take several minutes."
|
||||||
highstate
|
highstate
|
||||||
playbook
|
playbook
|
||||||
unmount_update
|
unmount_update
|
||||||
|
|||||||
Reference in New Issue
Block a user