From 9302b9302bccc37ec1e5ca2a3292354d78ecf400 Mon Sep 17 00:00:00 2001 From: Jason Ertel Date: Fri, 19 Feb 2021 11:13:31 -0500 Subject: [PATCH] Clear salt fileserver cache to ensure the new local.rules file gets picked up on the filesync --- setup/so-functions | 1 + 1 file changed, 1 insertion(+) diff --git a/setup/so-functions b/setup/so-functions index 6eb2bc1ed..6c277317a 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -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() {