mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Add cron.absent to remove old cron job if present
This commit is contained in:
@@ -168,6 +168,15 @@ disable_so-suricata_so-status.conf:
|
||||
- regex: ^so-suricata$
|
||||
{% endif %}
|
||||
|
||||
/usr/local/bin/surirotate:
|
||||
cron.absent:
|
||||
- user: root
|
||||
- minute: '11'
|
||||
- hour: '*'
|
||||
- daymonth: '*'
|
||||
- month: '*'
|
||||
- dayweek: '*'
|
||||
|
||||
{% else %}
|
||||
|
||||
{{sls}}_state_not_allowed:
|
||||
|
||||
Reference in New Issue
Block a user