first round of fixes for eval mode

This commit is contained in:
doug
2022-12-16 13:24:02 -05:00
parent 93056e802f
commit b9e51fc7cf
10 changed files with 16 additions and 2 deletions
+3 -2
View File
@@ -64,10 +64,11 @@ base:
{% if salt['file.file_exists']('/opt/so/saltstack/local/pillar/elasticsearch/auth.sls') %} {% if salt['file.file_exists']('/opt/so/saltstack/local/pillar/elasticsearch/auth.sls') %}
- elasticsearch.auth - elasticsearch.auth
{% endif %} {% endif %}
- kibana.secrets
{% if salt['file.file_exists']('/opt/so/saltstack/local/pillar/kibana/secrets.sls') %} {% if salt['file.file_exists']('/opt/so/saltstack/local/pillar/kibana/secrets.sls') %}
- soc_global - kibana.secrets
{% endif %} {% endif %}
- soc_global
- kratos.soc_kratos
- elasticsearch.soc_elasticsearch - elasticsearch.soc_elasticsearch
- manager.soc_manager - manager.soc_manager
- soc.soc_soc - soc.soc_soc
View File
View File
View File
View File
View File
View File
View File
Regular → Executable
View File
+13
View File
@@ -0,0 +1,13 @@
{% from 'vars/elasticsearch.map.jinja' import ELASTICSEARCH_GLOBALS %}
{% set ROLE_GLOBALS = {} %}
{% set EVAL_GLOBALS =
[
ELASTICSEARCH_GLOBALS
]
%}
{% for sg in EVAL_GLOBALS %}
{% do salt['defaults.merge'](ROLE_GLOBALS, sg, merge_lists=False, in_place=True) %}
{% endfor %}