Code Review
/
salt-formulas
/
elasticsearch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from parent 1:
defc9fa
)
Set node name
author
Filip Pytloun
<filip@pytloun.cz>
Thu, 5 May 2016 12:39:30 +0000
(14:39 +0200)
committer
Filip Pytloun
<filip@pytloun.cz>
Thu, 5 May 2016 12:39:30 +0000
(14:39 +0200)
elasticsearch/files/elasticsearch.yml
patch
|
blob
|
history
diff --git
a/elasticsearch/files/elasticsearch.yml
b/elasticsearch/files/elasticsearch.yml
index 92c6a3361f8a423ac89a29709ee1085b7dc2ef4a..89a1c5ca69262d7827b592ea2bd64bc358f553ba 100644
(file)
--- a/
elasticsearch/files/elasticsearch.yml
+++ b/
elasticsearch/files/elasticsearch.yml
@@
-43,6
+43,7
@@
cluster.name: {{ server.clustername }}
# from configuring them manually. You can tie this node to a specific name:
#
# node.name: "Franz Kafka"
+node.name: {{ server.get('name', '${HOSTNAME}') }}
# Every node can be configured to allow or deny being eligible as the master,
# and to allow or deny to store the data.