Merge pull request #9620 from Security-Onion-Solutions/2.4/firewall

2.4/firewall
This commit is contained in:
Josh Patterson
2023-01-23 15:56:53 -05:00
committed by GitHub
3 changed files with 12 additions and 0 deletions

View File

@@ -218,6 +218,11 @@ sostatus_check_cron:
- month: '*' - month: '*'
- dayweek: '*' - dayweek: '*'
remove_post_setup_cron:
cron.absent:
- name: 'salt-call state.highstate'
- identifier: post_setup_cron
{% if GLOBALS.role not in ['eval', 'manager', 'managersearch', 'standalone'] %} {% if GLOBALS.role not in ['eval', 'manager', 'managersearch', 'standalone'] %}
soversionfile: soversionfile:

View File

@@ -0,0 +1,6 @@
post_setup_cron:
cron.present:
- name: 'salt-call state.highstate'
- user: root
- minute: '*/1'
- identifier: post_setup_cron

View File

@@ -608,6 +608,7 @@ if ! [[ -f $install_opt_file ]]; then
configure_minion "$minion_type" configure_minion "$minion_type"
drop_install_options drop_install_options
checkin_at_boot checkin_at_boot
logCmd "salt-call state.apply setup.highstate_cron --local --file-root=../salt/"
verify_setup verify_setup
fi fi