mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Common Module - socore user fixup
This commit is contained in:
@@ -1,13 +1,31 @@
|
||||
# Add Suricata Group
|
||||
socoregroup:
|
||||
group.present:
|
||||
- name: socore
|
||||
- gid: 939
|
||||
|
||||
# Add ES user
|
||||
socore:
|
||||
user.present:
|
||||
- uid: 939
|
||||
- gid: 939
|
||||
- home: /opt/so
|
||||
- createhome: True
|
||||
|
||||
# Create a state directory
|
||||
|
||||
statedir:
|
||||
file.directory:
|
||||
- name: /opt/so/state
|
||||
- user: 939
|
||||
- group: 939
|
||||
- makedirs: True
|
||||
|
||||
salttmp:
|
||||
file.directory:
|
||||
- name: /opt/so/tmp
|
||||
- user: 939
|
||||
- group: 939
|
||||
- makedirs: True
|
||||
|
||||
# Install packages needed for the sensor
|
||||
|
||||
Reference in New Issue
Block a user