Code Review
/
salt-formulas
/
elasticsearch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Manage minion.d using support metadata
[salt-formulas/elasticsearch.git]
/
elasticsearch
/
meta
/
salt.yml
diff --git a/elasticsearch/meta/salt.yml
b/elasticsearch/meta/salt.yml
new file mode 100644
(file)
index 0000000..
bfd5e0f
--- /dev/null
+++ b/
elasticsearch/meta/salt.yml
@@ -0,0
+1,7
@@
+minion:
+ {%- if pillar.elasticsearch.client is defined %}
+ elasticsearch:
+ {%- from "elasticsearch/map.jinja" import client with context %}
+ elasticsearch:
+ host: {{client.server.host}}:{{client.server.port}}
+ {%- endif %}