correct grep patterns

This commit is contained in:
Jason Ertel
2023-01-19 13:56:14 -05:00
parent 85b5d1b317
commit 59177288ef

View File

@@ -36,8 +36,8 @@ whipit() {
# Check entire setup log for errors or unexpected salt states
log_has_errors() {
grep -E "FAILED|Failed|failed|ERROR|Error|Result: False" "$setup_log" | \
grep -vE "[ERROR ] The Salt Master has cached the public key for this node" | \
grep -vE "Minion failed to authenticate with master" | \
grep -vE "The Salt Master has cached the public key for this node" | \
grep -vE "Minion failed to authenticate with the master" | \
grep -vE "perl-Error-" | \
grep -vE "Failed:\s*?[0-9]+" | \
grep -vE "Status .* was not found" | \