diff --git a/elasticsearch/config/load_settings.sh b/elasticsearch/config/load_settings.sh index 014a54b1..5aeedb9c 100644 --- a/elasticsearch/config/load_settings.sh +++ b/elasticsearch/config/load_settings.sh @@ -38,7 +38,7 @@ if [ $ENABLE_CONFIGURE_S3 ]; then fi - +if [ ${ENABLED_XPACK} = "true" ]; then curl -XPUT "$el_url/_cluster/settings" ${auth} -H 'Content-Type: application/json' -d' { "persistent": { @@ -46,6 +46,7 @@ curl -XPUT "$el_url/_cluster/settings" ${auth} -H 'Content-Type: application/jso } } ' +fi # Set cluster delayed timeout when node falls curl -X PUT "$el_url/_all/_settings" -H 'Content-Type: application/json' -d'