Fix pillar syntax

This commit is contained in:
Mike Reeves
2020-10-19 17:08:06 -04:00
parent 3cb419174a
commit 722f2b3913

View File

@@ -1201,13 +1201,15 @@ manager_global() {
"elasticsearch:"\ "elasticsearch:"\
" replicas: 0" " replicas: 0"
if [ -n "$ESCLUSTERNAME" ]; then if [ -n "$ESCLUSTERNAME" ]; then
printf " true_cluster: True"\ printf '%s\n'\
" true_cluster_name: '$ESCLUSTERNAME'"\ " true_cluster: True"\
" true_cluster_name: '$ESCLUSTERNAME'"
else else
printf " true_cluster: False"\ printf '%s\n'\
" true_cluster_name: 'so'"\ " true_cluster: False"\
" true_cluster_name: 'so'"
fi fi
printf '%s\n'\
" discovery_nodes: 1"\ " discovery_nodes: 1"\
" hot_warm_enabled: False"\ " hot_warm_enabled: False"\
" cluster_routing_allocation_disk.threshold_enabled: true"\ " cluster_routing_allocation_disk.threshold_enabled: true"\