mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Dump salt mine to log after applying SSL/CA salt states
This commit is contained in:
@@ -1241,6 +1241,8 @@ salt_checkin() {
|
|||||||
salt '*' mine.send x509.get_pem_entries glob_path=/etc/pki/ca.crt;
|
salt '*' mine.send x509.get_pem_entries glob_path=/etc/pki/ca.crt;
|
||||||
echo " Applying SSL state";
|
echo " Applying SSL state";
|
||||||
salt-call state.apply ssl;
|
salt-call state.apply ssl;
|
||||||
|
echo " Confirming mine contents"
|
||||||
|
salt \* mine.get \* x509.get_pem_entries
|
||||||
} >> "$setup_log" 2>&1
|
} >> "$setup_log" 2>&1
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|||||||
Reference in New Issue
Block a user