Download packages required for Elasticseearch

This change reverts 3675c297f0 to support deployments using
fuel-createmirror. In this case, the nodes don't have access to the
external Ubuntu repositories and the installation of Java fails.

Change-Id: I40a38d65f25f2070dd87bdc35b3e06023d0de8a3
This commit is contained in:
Simon Pasquier 2015-06-02 15:52:10 +02:00
parent 79a80a75fe
commit 404043c069
1 changed files with 10 additions and 1 deletions

View File

@ -32,7 +32,16 @@ function download {
done
}
download deb https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.4.4.deb
# Packages needed to install JRE headless
download deb http://mirrors.kernel.org/ubuntu/pool/main/p/pcsc-lite/libpcsclite1_1.8.10-1ubuntu1_amd64.deb \
http://mirrors.kernel.org/ubuntu/pool/main/j/java-common/java-common_0.51_all.deb \
http://mirrors.kernel.org/ubuntu/pool/main/t/tzdata/tzdata-java_2015d-0ubuntu0.14.04_all.deb \
http://mirrors.kernel.org/ubuntu/pool/main/t/tzdata/tzdata_2015d-0ubuntu0.14.04_all.deb \
http://security.ubuntu.com/ubuntu/pool/main/c/ca-certificates/ca-certificates_20141019ubuntu0.14.04.1_all.deb \
http://mirrors.kernel.org/ubuntu/pool/main/c/ca-certificates-java/ca-certificates-java_20130815ubuntu1_all.deb \
http://security.ubuntu.com/ubuntu/pool/main/o/openjdk-7/openjdk-7-jre-headless_7u79-2.5.5-0ubuntu0.14.04.2_amd64.deb \
http://mirrors.kernel.org/ubuntu/pool/main/c/ca-certificates-java/ca-certificates-java_20130815ubuntu1_all.deb \
https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.4.4.deb
# For redhat only java 1.8 headless is needed
download rpm http://mirror.centos.org/centos/6/updates/x86_64/Packages/java-1.8.0-openjdk-headless-1.8.0.31-1.b13.el6_6.x86_64.rpm \