...
This script takes all the paramters in a setup config file. The only line param this requires is the config file. Default setup.conf is adequately commented
to describe the required params.
#########################################################################################################
#This is the base template which will be used to provision a guest with logstash,elasticsearch and redis
templateid=
#The diskoffering fo the guest
diskofferingid=
#The serviceofferingid
serviceofferingid=
#The zoneid
zoneid=
#Currently only linux, dont change this
ostype=linux
#The default is to use the username/pass, fill this up if the ssh keyfile will be used
keyfile=""
#Username with which the various steps will be carried out
user=root
#Default is to use the password to automate the provisioning into the vm
passwd=
#The yum repo url for logstash
logstash_baseurl="http://packages.elasticsearch.org/logstash/1.3"
#Description for logstash software
logstash_desc="logstash repository for 1.3.x packages"
#Gpg key for the logstash repo
logstash_gpgkey="http://packages.elasticsearch.org/GPG-KEY-elasticsearch"
#Logstash reponame
logstash_reponame="\[logstash-1.3\]"
#The conf file which will be used to specify the cloudstack specfic config info
logstash_conf=./logstash-indexer.conf
#The yum repo url for elasticsearch
elasticsearch_baseurl="http://packages.elasticsearch.org/elasticsearch/1.0"
#Description for elasticsearch software
elasticsearch_desc="Elasticsearch repository for 1.0.x packages"
#The gpg key for repo
elasticsearch_gpgkey="http://packages.elasticsearch.org/GPG-KEY-elasticsearch"
#The elasticsearch reponame
elasticsearch_reponame="\[elasticsearch-1.0\]"
#The epel repo rpm
epelrpm=http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
#The remi repo rpm
remirpm=http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
#########################################################################################################
DSL query for searching logs by jobid
...