Fix pillar syntax

This commit is contained in:
Mike Reeves
2020-10-19 17:02:26 -04:00
parent 4e1bff2231
commit 55b6f5ce99

View File

@@ -1200,13 +1200,14 @@ manager_global() {
" features: False"\ " features: False"\
"elasticsearch:"\ "elasticsearch:"\
" replicas: 0"\ " replicas: 0"\
if [[ -z "$ESCLUSTERNAME" ]]; then if [ -n "$ESCLUSTERNAME" ]; then
printf " true_cluster: False" printf " true_cluster: True"\
" true_cluster_name: 'so'" " true_cluster_name: '$ESCLUSTERNAME'"\
else else
printf " true_cluster: True" printf " true_cluster: False"\
" true_cluster_name: '$ESCLUSTERNAME'" " true_cluster_name: 'so'"\
fi fi
" 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"\