make logstash and kratos homedirs

This commit is contained in:
reyesj2
2025-04-21 16:26:20 -05:00
parent 5bd84c4e30
commit 4ec185a9c7
2 changed files with 17 additions and 1 deletions

View File

@@ -13,6 +13,14 @@ kratosgroup:
- name: kratos - name: kratos
- gid: 928 - gid: 928
kratoshome:
file.directory:
- name: /opt/so/conf/kratos
- user: 928
- gid: 928
- mode: 700
- makedirs: True
# Add Kratos user # Add Kratos user
kratos: kratos:
user.present: user.present:

View File

@@ -22,7 +22,15 @@ logstashgroup:
- name: logstash - name: logstash
- gid: 931 - gid: 931
# Add the logstash user for the jog4j settings logstashhome:
file.directory:
- name: /opt/so/conf/logstash
- user: 931
- gid: 931
- mode: 700
- makedirs: True
# Add the logstash user for the log4j settings
logstash: logstash:
user.present: user.present:
- uid: 931 - uid: 931