Create master node role in ES

This commit is contained in:
Mike Reeves
2020-10-28 16:44:14 -04:00
parent ecfd1bbe4d
commit 57d8f25422
2 changed files with 13 additions and 9 deletions

View File

@@ -1331,8 +1331,15 @@ elasticsearch_pillar() {
"elasticsearch:"\
" mainip: '$MAINIP'"\
" mainint: '$MNIC'"\
" esheap: '$NODE_ES_HEAP_SIZE'"\
" esclustername: {{ grains.host }}"\
" esheap: '$NODE_ES_HEAP_SIZE'"
if [ -n "$ESCLUSTERNAME" ]; then
printf '%s\n'\
" esclustername: $ESCLUSTERNAME"
else
printf '%s\n'\
" esclustername: {{ grains.host }}"
fi
printf '%s\n'\
" node_type: '$NODETYPE'"\
" es_port: $node_es_port"\
" log_size_limit: $log_size_limit"\