mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Clear salt fileserver cache to ensure the new local.rules file gets picked up on the filesync
This commit is contained in:
@@ -891,6 +891,7 @@ create_local_nids_rules() {
|
||||
# Create a local.rules file so it doesn't get blasted on updates
|
||||
mkdir -p /opt/so/saltstack/local/salt/idstools
|
||||
echo "# Custom Suricata rules go in this file" > /opt/so/saltstack/local/salt/idstools/local.rules
|
||||
salt-run fileserver.clear_file_list_cache
|
||||
}
|
||||
|
||||
create_repo() {
|
||||
|
||||
Reference in New Issue
Block a user