From 783a9cd102cfde272ab9c485b2248799a4e2d1ef Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Fri, 25 Oct 2019 09:51:04 -0400 Subject: [PATCH] Elastic Search State - Fix ingest to work with storage nodes --- salt/elasticsearch/files/so-elasticsearch-pipelines | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/salt/elasticsearch/files/so-elasticsearch-pipelines b/salt/elasticsearch/files/so-elasticsearch-pipelines index c0dd44aa9..b1b6db158 100755 --- a/salt/elasticsearch/files/so-elasticsearch-pipelines +++ b/salt/elasticsearch/files/so-elasticsearch-pipelines @@ -19,7 +19,7 @@ ELASTICSEARCH_HOST=$1 ELASTICSEARCH_PORT=9200 # Define a default directory to load pipelines from -ELASTICSEARCH_INGEST_PIPELINES="/opt/so/saltstack/salt/elasticsearch/files/ingest/" +ELASTICSEARCH_INGEST_PIPELINES="/opt/so/conf/elasticsearch/ingest/" # Wait for ElasticSearch to initialize echo -n "Waiting for ElasticSearch..." @@ -39,7 +39,7 @@ while [[ "$COUNT" -le 240 ]]; do done if [ "$ELASTICSEARCH_CONNECTED" == "no" ]; then echo - echo -e "Connection attempt timed out. Unable to connect to ElasticSearch. \nPlease try: \n -checking log(s) in /var/log/elasticsearch/\n -running 'sudo docker ps' \n -running 'sudo so-elastic-restart'" + echo -e "Connection attempt timed out. Unable to connect to ElasticSearch. \nPlease try: \n -checking log(s) in /var/log/elasticsearch/\n -running 'sudo docker ps' \n -running 'sudo so-elastic-restart'" echo fi