7febd72cce
Previously there are a lot of warning messages of setuptools in the log files of tox jobs. This is mainly caused by test samples because these are in python codes directories. This patch moves test samples from under {heat-translator_root}/translator/tests to under {heat-translator_root}/samples/tests. This patch also contains the following changes: - Remove "skipsdist = True" from tox.ini - Fixed usage.rst command example Change-Id: Ibde711a4778e238076de328641da7b0edd1d4f4b Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com> Co-Authored-By: Yoshiro Watanabe <fj3838ct@fujitsu.com>
21 lines
603 B
Bash
Executable File
21 lines
603 B
Bash
Executable File
#!/bin/bash
|
|
# This script installs java, logstash and the contrib package for logstash
|
|
# install java as prereq
|
|
|
|
apt-get update
|
|
apt-get install -y openjdk-7-jre-headless
|
|
mkdir /etc/logstash
|
|
|
|
# install by apt-get from repo
|
|
wget -O - http://packages.elasticsearch.org/GPG-KEY-elasticsearch | apt-key add -
|
|
echo "deb http://packages.elasticsearch.org/logstash/1.4/debian stable main" | tee -a /etc/apt/sources.list
|
|
|
|
apt-get update
|
|
apt-get install -y logstash
|
|
|
|
# install contrib to get the relp plugin
|
|
/opt/logstash/bin/plugin install contrib
|
|
|
|
# set up to run as service
|
|
update-rc.d logstash defaults 95 10
|