From 01323cc192721e35316b67eb55e8ab1ea8c9753b Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Fri, 17 Sep 2021 15:44:54 -0400 Subject: [PATCH] fix clustername redirect --- setup/so-functions | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup/so-functions b/setup/so-functions index fbc06fd84..06ec7238a 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -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"\