Ensure Zeek spool dir is owned by Zeek to allow Zeek to start correctly

This commit is contained in:
Jason Ertel
2021-02-25 08:10:13 -05:00
parent ef7cdf27bf
commit 34dab9009c

View File

@@ -73,6 +73,14 @@ zeekpolicysync:
- group: 939
- template: jinja
# Ensure the zeek spool tree (and state.db) ownership is correct
zeekspoolownership:
file.directory:
- name: /nsm/zeek/spool
- user: 937
- recurse:
- user
# Sync Intel
zeekintelloadsync:
file.managed: