fix brackets

This commit is contained in:
m0duspwnens
2021-02-18 09:37:37 -05:00
parent 0bef8b6662
commit 041d193f2d
2 changed files with 2 additions and 2 deletions

View File

@@ -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)

View File

@@ -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