Fix print statments

This commit is contained in:
TOoSmOotH
2020-12-09 16:08:09 -05:00
parent 3a903501fd
commit 101ddd18a5

View File

@@ -1309,13 +1309,13 @@ elasticsearch_pillar() {
"elasticsearch:"\ "elasticsearch:"\
" mainip: '$MAINIP'"\ " mainip: '$MAINIP'"\
" mainint: '$MNIC'"\ " mainint: '$MNIC'"\
" esheap: '$NODE_ES_HEAP_SIZE'" " esheap: '$NODE_ES_HEAP_SIZE'" >> "$pillar_file"
if [ -n "$ESCLUSTERNAME" ]; then if [ -n "$ESCLUSTERNAME" ]; then
printf '%s\n'\ printf '%s\n'\
" esclustername: $ESCLUSTERNAME" " esclustername: $ESCLUSTERNAME" >> "$pillar_file"
else else
printf '%s\n'\ printf '%s\n'\
" esclustername: {{ grains.host }}" " esclustername: {{ grains.host }}" >> "$pillar_file"
fi fi
printf '%s\n'\ printf '%s\n'\
" node_type: '$NODETYPE'"\ " node_type: '$NODETYPE'"\