mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Merge pull request #9620 from Security-Onion-Solutions/2.4/firewall
2.4/firewall
This commit is contained in:
@@ -218,6 +218,11 @@ sostatus_check_cron:
|
||||
- month: '*'
|
||||
- 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'] %}
|
||||
|
||||
soversionfile:
|
||||
|
||||
6
salt/setup/highstate_cron.sls
Normal file
6
salt/setup/highstate_cron.sls
Normal file
@@ -0,0 +1,6 @@
|
||||
post_setup_cron:
|
||||
cron.present:
|
||||
- name: 'salt-call state.highstate'
|
||||
- user: root
|
||||
- minute: '*/1'
|
||||
- identifier: post_setup_cron
|
||||
@@ -608,6 +608,7 @@ if ! [[ -f $install_opt_file ]]; then
|
||||
configure_minion "$minion_type"
|
||||
drop_install_options
|
||||
checkin_at_boot
|
||||
logCmd "salt-call state.apply setup.highstate_cron --local --file-root=../salt/"
|
||||
verify_setup
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user