add the jinja template

This commit is contained in:
m0duspwnens committed 2021-09-09 10:19:46 -04:00
1 parent f06ab8b77d
commit 93f2cd75a4
2 files changed
+6 -1

No files matched your search

@@ -0,0 +1 @@
{{ ESCONFIG | yaml(False) }}
+5 -1
View File
@@ -140,9 +140,13 @@ eslog4jfile:
esyml:
file.managed:
- name: /opt/so/conf/elasticsearch/elasticsearch.yml
- contents: {{ ESCONFIG.elasticsearch.cluster_settings | yaml }}
- source: salt://elasticsearch/files/elasticsearch.yaml.jinja
- user: 930
- group: 939
- defaults:
ESCONFIG: {{ ESCONFIG.elasticsearch.cluster_settings }}
- template: jinja
esyml_test:
file.managed: