Switch to elasticsearch 7.x

There have been frequent 404 errors attempting to access the
artifacts.elastic.co archive for 5.x.

Change-Id: I9dd1b70e7d84e850c2c66ff4743438a1039e634c
This commit is contained in:
Corey Bryant 2021-03-02 11:53:23 -05:00
parent 0ae9adef3e
commit c6ac44736d
1 changed files with 1 additions and 1 deletions

View File

@ -1571,7 +1571,7 @@ parts:
cat $SNAPCRAFT_PROJECT_DIR/filebeat.pgp.key | apt-key add -
cat $SNAPCRAFT_PROJECT_DIR/telegraf.pgp.key | apt-key add -
apt-get install apt-transport-https
echo 'deb https://artifacts.elastic.co/packages/5.x/apt stable main' > /etc/apt/sources.list.d/elastic-5.x.list
echo 'deb https://artifacts.elastic.co/packages/7.x/apt stable main' > /etc/apt/sources.list.d/elastic-7.x.list
echo 'deb http://ppa.launchpad.net/telegraf-devs/ppa/ubuntu bionic main' > /etc/apt/sources.list.d/telegraf.x.list
# this needs to be re-worked in order to be built in-place
echo 'deb http://ppa.launchpad.net/nikolay.vinogradov/nrpe-root/ubuntu bionic main' > /etc/apt/sources.list.d/nrpe-root.list