mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-18 23:13:20 +01:00
Filebeat Module - Fix directory creation
This commit is contained in:
@@ -14,8 +14,15 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
{% set lsaccessip = salt['pillar.get']('master:lsaccessip', '') %}
|
{% set lsaccessip = salt['pillar.get']('master:lsaccessip', '') %}
|
||||||
|
|
||||||
# Redis Setup
|
# Filebeat Setup
|
||||||
filebeatconfdir:
|
filebeatpkidir:
|
||||||
|
file.directory:
|
||||||
|
- name: /opt/so/conf/filebeat/etc
|
||||||
|
- user: 939
|
||||||
|
- group: 939
|
||||||
|
- makedirs: True
|
||||||
|
|
||||||
|
filebeatpkidir:
|
||||||
file.directory:
|
file.directory:
|
||||||
- name: /opt/so/conf/filebeat/etc/pki
|
- name: /opt/so/conf/filebeat/etc/pki
|
||||||
- user: 939
|
- user: 939
|
||||||
@@ -26,8 +33,8 @@ filebeatconfsync:
|
|||||||
file.recurse:
|
file.recurse:
|
||||||
- name: /opt/so/conf/filebeat/etc
|
- name: /opt/so/conf/filebeat/etc
|
||||||
- source: salt://filebeat/etc
|
- source: salt://filebeat/etc
|
||||||
- user: 0
|
- user: 939
|
||||||
- group: 0
|
- group: 939
|
||||||
- template: jinja
|
- template: jinja
|
||||||
|
|
||||||
#filebeatcrt:
|
#filebeatcrt:
|
||||||
@@ -53,4 +60,3 @@ so-filebeat:
|
|||||||
- /opt/so/conf/filebeat/etc/pki/filebeat.crt:/usr/share/filebeat/filebeat.crt:ro
|
- /opt/so/conf/filebeat/etc/pki/filebeat.crt:/usr/share/filebeat/filebeat.crt:ro
|
||||||
- /opt/so/conf/filebeat/etc/pki/filebeat.key:/usr/share/filebeat/filebeat.key:ro
|
- /opt/so/conf/filebeat/etc/pki/filebeat.key:/usr/share/filebeat/filebeat.key:ro
|
||||||
- /etc/ssl/certs/intca.crt:/usr/share/filebeat/intraca.crt:ro
|
- /etc/ssl/certs/intca.crt:/usr/share/filebeat/intraca.crt:ro
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user