83 lines
3.3 KiB
Plaintext
83 lines
3.3 KiB
Plaintext
#
|
||
# (C) Copyright 2015 Hewlett Packard Enterprise Development Company LP
|
||
#
|
||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||
# you may not use this file except in compliance with the License.
|
||
# You may obtain a copy of the License at
|
||
#
|
||
# http://www.apache.org/licenses/LICENSE-2.0
|
||
#
|
||
# Unless required by applicable law or agreed to in writing, software
|
||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||
# implied.
|
||
# See the License for the specific language governing permissions and
|
||
# limitations under the License.
|
||
#
|
||
disable_service horizon
|
||
disable_service monasca-thresh
|
||
|
||
enable_service monasca
|
||
enable_service monasca-influxdb
|
||
enable_service monasca-storm
|
||
enable_service zookeeper
|
||
enable_service monasca-kafka
|
||
enable_service monasca-api
|
||
enable_service monasca-persister
|
||
enable_service monasca-agent
|
||
enable_service monasca-cli
|
||
|
||
enable_service monasca-transform
|
||
enable_service spark-master
|
||
enable_service spark-worker
|
||
|
||
#
|
||
# Dependent Software Versions
|
||
#
|
||
|
||
# spark vars
|
||
SPARK_DIRECTORIES=("/var/spark" "/var/log/spark" "/var/log/spark/events" "/var/run/spark" "/var/run/spark/work" "/etc/spark/conf" "/etc/spark/init" )
|
||
SPARK_VERSION=${SPARK_VERSION:-1.6.3}
|
||
HADOOP_VERSION=${HADOOP_VERSION:-2.6}
|
||
SPARK_HADOOP_VERSION=spark-$SPARK_VERSION-bin-hadoop$HADOOP_VERSION
|
||
SPARK_TARBALL_NAME=${SPARK_HADOOP_VERSION}.tgz
|
||
MAVEN_REPO=${MAVEN_REPO:-https://repo1.maven.org/maven2}
|
||
APACHE_MIRROR=${APACHE_MIRROR:-http://archive.apache.org/dist/}
|
||
|
||
# Kafka deb consists of the version of scala plus the version of kafka
|
||
BASE_KAFKA_VERSION=${BASE_KAFKA_VERSION:-0.8.1.1}
|
||
SCALA_VERSION=${SCALA_VERSION:-2.10}
|
||
KAFKA_VERSION=${KAFKA_VERSION:-${SCALA_VERSION}-${BASE_KAFKA_VERSION}}
|
||
SPARK_JAVA_LIBS=("org/apache/kafka/kafka_2.10/0.8.1.1/kafka_2.10-0.8.1.1.jar" "org/scala-lang/scala-library/2.10.1/scala-library-2.10.1.jar" "com/yammer/metrics/metrics-core/2.2.0/metrics-core-2.2.0.jar" "org/apache/spark/spark-streaming-kafka_2.10/${SPARK_VERSION}/spark-streaming-kafka_2.10-${SPARK_VERSION}.jar" "org/drizzle/jdbc/drizzle-jdbc/1.3/drizzle-jdbc-1.3.jar")
|
||
|
||
# monasca-api stuff
|
||
|
||
INFLUXDB_VERSION=${INFLUXDB_VERSION:-0.9.5}
|
||
VERTICA_VERSION=${VERTICA_VERSION:-7.2.1-0}
|
||
CASSANDRA_VERSION=${CASSANDRA_VERSION:-37x}
|
||
STORM_VERSION=${STORM_VERSION:-1.0.2}
|
||
GO_VERSION=${GO_VERSION:-"1.7.1"}
|
||
NODE_JS_VERSION=${NODE_JS_VERSION:-"4.0.0"}
|
||
NVM_VERSION=${NVM_VERSION:-"0.32.1"}
|
||
|
||
# Repository settings
|
||
MONASCA_API_REPO=${MONASCA_API_REPO:-${GIT_BASE}/openstack/monasca-api.git}
|
||
MONASCA_API_BRANCH=${MONASCA_API_BRANCH:-master}
|
||
MONASCA_API_DIR=${DEST}/monasca-api
|
||
|
||
MONASCA_PERSISTER_REPO=${MONASCA_PERSISTER_REPO:-${GIT_BASE}/openstack/monasca-persister.git}
|
||
MONASCA_PERSISTER_BRANCH=${MONASCA_PERSISTER_BRANCH:-master}
|
||
MONASCA_PERSISTER_DIR=${DEST}/monasca-persister
|
||
|
||
MONASCA_CLIENT_REPO=${MONASCA_CLIENT_REPO:-${GIT_BASE}/openstack/python-monascaclient.git}
|
||
MONASCA_CLIENT_BRANCH=${MONASCA_CLIENT_BRANCH:-master}
|
||
MONASCA_CLIENT_DIR=${DEST}/python-monascaclient
|
||
|
||
MONASCA_AGENT_REPO=${MONASCA_AGENT_REPO:-${GIT_BASE}/openstack/monasca-agent.git}
|
||
MONASCA_AGENT_BRANCH=${MONASCA_AGENT_BRANCH:-master}
|
||
MONASCA_AGENT_DIR=${DEST}/monasca-agent
|
||
|
||
MONASCA_COMMON_REPO=${MONASCA_COMMON_REPO:-${GIT_BASE}/openstack/monasca-common.git}
|
||
MONASCA_COMMON_BRANCH=${MONASCA_COMMON_BRANCH:-master}
|
||
MONASCA_COMMON_DIR=${DEST}/monasca-common
|