mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-09 10:42:54 +01:00
check that salt-master is running before requiring manager
This commit is contained in:
@@ -1014,16 +1014,16 @@ main() {
|
|||||||
echo "### Preparing soup at $(date) ###"
|
echo "### Preparing soup at $(date) ###"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
echo "Checking to see if this is a manager."
|
|
||||||
echo ""
|
|
||||||
require_manager
|
|
||||||
|
|
||||||
if ! check_salt_master_status -t 30; then
|
if ! check_salt_master_status -t 30; then
|
||||||
echo "Could not talk to salt master"
|
echo "Could not talk to salt master"
|
||||||
echo "Please run `systemctl status salt-master` to ensure the salt-master service is running."
|
echo "Please run `systemctl status salt-master` to ensure the salt-master service is running."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "Checking to see if this is a manager."
|
||||||
|
echo ""
|
||||||
|
require_manager
|
||||||
|
|
||||||
check_pillar_items
|
check_pillar_items
|
||||||
|
|
||||||
echo "Checking to see if this is an airgap install."
|
echo "Checking to see if this is an airgap install."
|
||||||
|
|||||||
Reference in New Issue
Block a user