#!/bin/bash
# Envsetup default configuration file
# DO NOT EDIT THIS FILE!
# Put your local configuration in conf.sh

# -- Constants --
GREEN='\033[0;32m'
RED='\033[0;31m'
CYAN='\033[0;36m'
NC='\033[0m'

# -- System --
# Skyreach in which system looks for packages
SKYREACH_HOST='skyreach.ubicast.net'
SKYREACH_API_KEY='sde6b2af8d9feb2153d82e8183aa26a5'
# NTP
NTP_SERVER1='ntp.ubuntu.com'
NTP_SERVER2=
NTP_SERVER3=
# hosts
ETC_HOSTNAME='mediaserver'
# proxy
PROXY=0
PROXY_AUTHENTICATION=0
PROXY_HTTP=
PROXY_HTTPS=
PROXY_PORT=
PROXY_USER=
PROXY_PASSWD=
# SSL certificate
SSL_CERTIFICATE='/etc/ssl/certs/ssl-cert-snakeoil.pem'
SSL_CERTIFICATE_KEY='/etc/ssl/private/ssl-cert-snakeoil.key'
# APT sources
APT_CACHE_HOST='panel.ubicast.eu'

# -- Shell --
# ubicast shell account
SHELL_UBICAST_PWD='test'
# customer shell account
SHELL_ADMIN_PWD='test'

# -- Emails --
EMAIL_SMTP_SERVER=
EMAIL_SENDER='support@ubicast.eu'

# -- Wowza --
WOWZA_LIVE_PWD='test'
WOWZA_MANAGER_PWD='test'
WOWZA_LICENSE=

# -- MediaServer --
MS_SERVER_NAME='mediaserver'
MS_ID='fX_msuser'
# API key looks like: s00pN-aRseu-dnfMq-678CV-9nS9E
MS_API_KEY=
MS_SECRET='secret'
MS_SUPERUSER_PWD=
MS_ADMIN_PWD=

# -- Monitor --
MONITOR_SERVER_NAME='monitor'
MONITOR_SUPERUSER_PWD=
MONITOR_ADMIN_PWD=

# -- Campus Manager --
CM_SERVER_NAME='campusmanager'
CM_SUPERUSER_PWD=
CM_ADMIN_PWD=
# APT cacher (dependency of CM)
APT_CACHER_USER='admin'
#APT_CACHER_PWD=AUTOMATICALLY GENERATED

# -- MySQL --
# if no password is set, it will not be changed or set
MYSQL_ROOT_PWD=
MYSQL_HOST=
# client IP seen by mysql server
MYSQL_CONTACT_IP=

# -- Celerity --
CELERITY_SIGNING_KEY='test'
CELERITY_CELERITY_WORKER_IP='127.0.1.1'

# -- Network configuration --
# applied with envsetup-launcher.sh client
NETWORK_IP=0
NETWORK_DNS1=0
NETWORK_DNS2=0
NETWORK_MASK=0
NETWORK_GATEWAY=0

# -- Cache server specific --
# cache directory, prefer a ramfs - /tmp
CACHE_DIR='/tmp'
# only used by nginx internal -	cache, toto
CACHE_NAME='cache'
# allowed size in GB - 100
CACHE_SIZE='2'
# origin server - http://streaming-delltest.ubicast.net
CACHE_PROXY_PASS_STREAM='http://streaming.beta.ubicast.net'
# origin server - http://videos-delltest.ubicast.net
CACHE_PROXY_PASS_VOD='http://videos.beta.ubicast.net'
# munin - be carefull, format is important
CACHE_MUNIN_SRV=10\\.139\\.71\\.14

# -- Backup server specific (burp) --
BURP_STATUS_IP=
BURPUI_PASSWORD='1234'
# FQDN
BURP_SERVER='backupserver.ubicast.net'
BURP_MAIL_DEST='sysadmin@ubicast.eu'
# default mediaserver
BURP_CLIENT_NAME=
BURP_CLIENT_MAIL_DEST='sysadmin@ubicast.eu'

# -- HA server specific --
HA_NODE1='ha-ms3'
HA_NODE1_IP='192.168.41.178'
HA_NODE2='ha-ms4'
HA_NODE2_IP='192.168.41.179'
HA_LB1='ha-lb3'
HA_LB1_IP='192.168.41.177'
HA_LB2=
HA_LB2_IP=

# -- VM specific --
# hypervisor
VM_HYPER=vboxserver
# path from ${VM_HYPER}
VM_STORE=/media/nas/EXPORT
# path to VM_STORE from your machine
VM_STORE_LOCAL=/media/nas/Production/images_vm/EXPORT
# spacecake virtual machines; if blank, will use ETC_HOSTNAME
VM_NAME=
