mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 02:02:50 +01:00
fix brackets
This commit is contained in:
@@ -24,7 +24,7 @@ read lastPID < $lf
|
||||
[ ! -z "$lastPID" -a -d /proc/$lastPID ] && exit
|
||||
echo $$ > $lf
|
||||
|
||||
MAXEVES={% salt['pillar.get']('suricata:cleanup:eve_json', 20) %}
|
||||
MAXEVES={{ salt['pillar.get']('suricata:cleanup:eve_json', 20) }}
|
||||
|
||||
# Find eve files and remove them
|
||||
NUMEVES=$(find /nsm/suricata/ -type f -name "eve-*.json" | wc -l)
|
||||
|
||||
@@ -182,7 +182,7 @@ so-suricata-eve-clean:
|
||||
- name: /usr/sbin/so-suricata-eve-clean
|
||||
- user: root
|
||||
- group: root
|
||||
- file_mode: 755
|
||||
- mode: 755
|
||||
- template: jinja
|
||||
- source: salt://suricata/cron/so-suricata-eve-clean
|
||||
|
||||
|
||||
Reference in New Issue
Block a user