From 27c18f83dc974e3a0b881b8a4a7f293111bc4922 Mon Sep 17 00:00:00 2001 From: Nikolay Maslarski Date: Sat, 17 Sep 2016 12:36:24 +0300 Subject: [PATCH] Add fail flag on enable shard allocation Signed-off-by: Georgi Lozev --- jobs/enable_shard_allocation/templates/bin/run.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jobs/enable_shard_allocation/templates/bin/run.erb b/jobs/enable_shard_allocation/templates/bin/run.erb index 5ee76c9..1a0826a 100644 --- a/jobs/enable_shard_allocation/templates/bin/run.erb +++ b/jobs/enable_shard_allocation/templates/bin/run.erb @@ -3,7 +3,7 @@ set -e -curl -s \ +curl -sf \ -X PUT \ -d '{"transient":{"cluster.routing.allocation.enable":"all"}}' \ '<%= p('enable_shard_allocation.elasticsearch.master_node') %>:9200/_cluster/settings' \