generate elasticsearch.auth pillar if it doesnt exist

This commit is contained in:
m0duspwnens
2021-05-25 11:52:58 -04:00
parent 5a1e8d9fe9
commit 8d9d5a267a
4 changed files with 22 additions and 1 deletions

View File

@@ -46,6 +46,9 @@ base:
- logstash.manager
- logstash.search
- elasticsearch.search
{% if salt['file.exists']('/opt/so/saltstack/local/pillar/elasticsearch/auth.sls') %}
- elasticsearch.auth
{% endif %}
- data.*
- zeeklogs
- secrets
@@ -89,4 +92,4 @@ base:
- secrets
- elasticsearch.eval
- global
- minions.{{ grains.id }}
- minions.{{ grains.id }}