mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-10-15 18:56:24 +02:00
Add cron.absent to remove old cron job if present
This commit is contained in:
1 parent
59a4b148bc
commit
995d618ff5
1 file changed
+9
@@ -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