Consolidate zkg directory creation into file.recurse with makedirs

This commit is contained in:
Mike Reeves
2026-03-17 13:36:03 -04:00
parent e6ee7dac7c
commit 6b039b3f94
+1 -7
View File
@@ -32,19 +32,13 @@ zeekpolicydir:
- group: 939 - group: 939
- makedirs: True - makedirs: True
zeekzkgdir:
file.directory:
- name: /opt/so/conf/zeek/zkg
- user: 937
- group: 939
- makedirs: True
zeekzkgsync: zeekzkgsync:
file.recurse: file.recurse:
- name: /opt/so/conf/zeek/zkg - name: /opt/so/conf/zeek/zkg
- source: salt://zeek/zkg - source: salt://zeek/zkg
- user: 937 - user: 937
- group: 939 - group: 939
- makedirs: True
# Zeek Log Directory # Zeek Log Directory
zeeklogdir: zeeklogdir: