fix clustername redirect

This commit is contained in:
m0duspwnens
2021-09-17 15:44:54 -04:00
parent 109c83d8c3
commit 01323cc192

View File

@@ -1724,7 +1724,7 @@ manager_global() {
" hot_warm: False"\
"elastic:"\
" features: False"\
"elasticsearch:"\
"elasticsearch:"\ >> "$global_pillar"
if [ -n "$ESCLUSTERNAME" ]; then
printf '%s\n'\
" true_cluster: True"\
@@ -1735,8 +1735,9 @@ manager_global() {
printf '%s\n'\
" true_cluster: False" >> "$global_pillar"
fi
" replicas: 0" >> "$global_pillar"
printf '%s\n'\
" replicas: 0"\
" discovery_nodes: 1"\
" hot_warm_enabled: False"\
" cluster_routing_allocation_disk.threshold_enabled: true"\