From 50de34cb533365105d8480a9ad17994b2fcc96aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iwan=20Cl=C3=A9ment?= Date: Tue, 13 Mar 2018 11:26:15 +0000 Subject: [PATCH] =?UTF-8?q?Mettre=20=C3=A0=20jour=20'elastic/elastic=5Fins?= =?UTF-8?q?tall.sh'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- elastic/elastic_install.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/elastic/elastic_install.sh b/elastic/elastic_install.sh index 2c6c978..afdf75e 100644 --- a/elastic/elastic_install.sh +++ b/elastic/elastic_install.sh @@ -8,13 +8,11 @@ elif [ -f /etc/redhat-release ]; then DESTDIR="/etc/yum.repos.d" DESTFILE="elasticsearch.repo" DESTFILE="$DESTDIR/$DESTFILE" - - rpm -y --import https://artifacts.elastic.co/GPG-KEY-elasticsearch echo "[elasticsearch-6.x]">"$DESTFILE" echo "name=Elasticsearch repository for 6.x packages">>"$DESTFILE" echo "baseurl=https://artifacts.elastic.co/packages/6.x/yum">>"$DESTFILE" - echo "echo "gpgcheck=1">>"$DESTFILE" + echo "echo gpgcheck=1">>"$DESTFILE" echo "gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch">>"$DESTFILE" echo "enabled=1">>"$DESTFILE" echo "autorefresh=1">>"$DESTFILE"