heat-translator/translator/tests/data/artifacts/elasticsearch/create.sh
spzala 1027b896cf Move tosca library test data under translator tests
Move TOSCA library data to the translator tests and remove toscalib folder.

Partially Implements: blueprint use-tosca-parser-library

Change-Id: Ib2a9283d2c4ebb6f8ae1e380700491c904843cce
2015-09-08 09:52:52 -07:00

15 lines
432 B
Bash
Executable File

#!/bin/bash
# This script installs java and elasticsearch
apt-get update
apt-get install -y openjdk-7-jre-headless
wget -qO - https://packages.elasticsearch.org/GPG-KEY-elasticsearch | apt-key add -
echo "deb http://packages.elasticsearch.org/elasticsearch/1.5/debian stable main" | tee -a /etc/apt/sources.list
apt-get update
apt-get install -y elasticsearch
# set up to run as service
update-rc.d elasticsearch defaults 95 10