mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
ask the minion if it can see itself in the mine
This commit is contained in:
@@ -407,8 +407,9 @@ function update_logstash_outputs() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function checkMine() {
|
function checkMine() {
|
||||||
func = $1
|
local func=$1
|
||||||
retry 20 1 "salt-run '$MINION_ID' mine.get '$func'" "$MINION_ID"
|
# make sure the minion sees itself in the mine since it needs to see itself for states as opposed to using salt-run
|
||||||
|
retry 20 1 "salt '$MINION_ID' mine.get '\*' '$func'" "$MINION_ID"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user