recusivly copy the firewall files for setup

This commit is contained in:
m0duspwnens
2023-02-08 13:14:08 -05:00
parent 31daeef30d
commit 19f49dde75

View File

@@ -1181,7 +1181,7 @@ firewall_generate_templates() {
local firewall_pillar_path=$local_salt_dir/salt/firewall
logCmd "mkdir -p $firewall_pillar_path"
logCmd "cp ../files/firewall/* /opt/so/saltstack/local/salt/firewall/"
logCmd "cp -r ../files/firewall/* /opt/so/saltstack/local/salt/firewall/"
# i think this can be commented out for 2.4
#for i in analyst beats_endpoint endgame sensors manager managersearch elastic_agent_endpoint searchnodes; do