Merge "Annotate TOSCA scripts"

This commit is contained in:
Jenkins
2015-07-02 18:38:40 +00:00
committed by Gerrit Code Review
15 changed files with 62 additions and 0 deletions

View File

@@ -1,6 +1,10 @@
#!/bin/bash
# This script install collectd for monitoring data
#The while loops in the script, which are added as a workaround to
#make sure multiple apt-get's do not run simultaneously, can be removed
#safely if an orchestrator executing this script is handling the situation.
#Trying to avoid multiple apt-get's running simultaneously (in the
#rare occasion that the apt-get command fails rerun the script).
while [[ "$(ps -A | grep apt-get | awk '{print $1}')" != "" ]]; do

View File

@@ -1,6 +1,10 @@
#!/bin/bash
# This script installs java and elasticsearch
#The while loops in the script, which are added as a workaround to
#make sure multiple apt-get's do not run simultaneously, can be removed
#safely if an orchestrator executing this script is handling the situation.
#Trying to avoid multiple apt-get's running simultaneously (in the
#rare occasion that the apt-get command fails rerun the script).
while [[ "$(ps -A | grep apt-get | awk '{print $1}')" != "" ]]; do

View File

@@ -2,6 +2,10 @@
# This script installs java, logstash and the contrib package for logstash
# install java as prereq
#The while loops in the script, which are added as a workaround to
#make sure multiple apt-get's do not run simultaneously, can be removed
#safely if an orchestrator executing this script is handling the situation.
#Trying to avoid multiple apt-get's running simultaneously (in the
#rare occasion that the apt-get command fails rerun the script).
while [[ "$(ps -A | grep apt-get | awk '{print $1}')" != "" ]]; do

View File

@@ -1,6 +1,10 @@
#!/bin/bash
# This script installs mongodb
#The while loops in the script, which are added as a workaround to
#make sure multiple apt-get's do not run simultaneously, can be removed
#safely if an orchestrator executing this script is handling the situation.
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3.0 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-3.0.list

View File

@@ -1,6 +1,10 @@
#!/bin/bash
#This script installs mysql server
#The while loops in the script, which are added as a workaround to
#make sure multiple apt-get's do not run simultaneously, can be removed
#safely if an orchestrator executing this script is handling the situation.
#Trying to avoid multiple apt-get's running simultaneously (in the
#rare occasion that the apt-get command fails rerun the script).
while [[ "$(ps -A | grep apt-get | awk '{print $1}')" != "" ]]; do

View File

@@ -1,5 +1,10 @@
#!/bin/bash
# This script installs nodejs and the prereq
#The while loops in the script, which are added as a workaround to
#make sure multiple apt-get's do not run simultaneously, can be removed
#safely if an orchestrator executing this script is handling the situation.
add-apt-repository ppa:chris-lea/node.js
#Trying to avoid multiple apt-get's running simultaneously (in the

View File

@@ -1,6 +1,10 @@
#!/bin/bash
# This script installs rsyslog and the library for RELP
#The while loops in the script, which are added as a workaround to
#make sure multiple apt-get's do not run simultaneously, can be removed
#safely if an orchestrator executing this script is handling the situation.
#Trying to avoid multiple apt-get's running simultaneously (in the
#rare occasion that the apt-get command fails rerun the script).
while [[ "$(ps -A | grep apt-get | awk '{print $1}')" != "" ]]; do

View File

@@ -1,6 +1,10 @@
#!/bin/sh
#This script installs apache web server
#The while loops in the script, which are added as a workaround to
#make sure multiple apt-get's do not run simultaneously, can be removed
#safely if an orchestrator executing this script is handling the situation.
#Trying to avoid multiple apt-get's running simultaneously (in the
#rare occasion that the apt-get command fails rerun the script).
while [[ "$(ps -A | grep apt-get | awk '{print $1}')" != "" ]]; do

View File

@@ -1,6 +1,10 @@
#!/bin/sh
#This script installs wordpress
#The while loops in the script, which are added as a workaround to
#make sure multiple apt-get's do not run simultaneously, can be removed
#safely if an orchestrator executing this script is handling the situation.
#Trying to avoid multiple apt-get's running simultaneously (in the
#rare occasion that the apt-get command fails rerun the script).
while [[ "$(ps -A | grep apt-get | awk '{print $1}')" != "" ]]; do

View File

@@ -1,6 +1,10 @@
#!/bin/bash
# This script install collectd for monitoring data
#The while loops in the script, which are added as a workaround to
#make sure multiple apt-get's do not run simultaneously, can be removed
#safely if an orchestrator executing this script is handling the situation.
#Trying to avoid multiple apt-get's running simultaneously (in the
#rare occasion that the apt-get command fails rerun the script).
while [[ "$(ps -A | grep apt-get | awk '{print $1}')" != "" ]]; do

View File

@@ -1,6 +1,10 @@
#!/bin/bash
# This script installs java and elasticsearch
#The while loops in the script, which are added as a workaround to
#make sure multiple apt-get's do not run simultaneously, can be removed
#safely if an orchestrator executing this script is handling the situation.
#Trying to avoid multiple apt-get's running simultaneously (in the
#rare occasion that the apt-get command fails rerun the script).
while [[ "$(ps -A | grep apt-get | awk '{print $1}')" != "" ]]; do

View File

@@ -2,6 +2,10 @@
# This script installs java, logstash and the contrib package for logstash
# install java as prereq
#The while loops in the script, which are added as a workaround to
#make sure multiple apt-get's do not run simultaneously, can be removed
#safely if an orchestrator executing this script is handling the situation.
#Trying to avoid multiple apt-get's running simultaneously (in the
#rare occasion that the apt-get command fails rerun the script).
while [[ "$(ps -A | grep apt-get | awk '{print $1}')" != "" ]]; do

View File

@@ -1,6 +1,10 @@
#!/bin/bash
# This script installs mongodb
#The while loops in the script, which are added as a workaround to
#make sure multiple apt-get's do not run simultaneously, can be removed
#safely if an orchestrator executing this script is handling the situation.
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3.0 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-3.0.list

View File

@@ -1,5 +1,10 @@
#!/bin/bash
# This script installs nodejs and the prereq
#The while loops in the script, which are added as a workaround to
#make sure multiple apt-get's do not run simultaneously, can be removed
#safely if an orchestrator executing this script is handling the situation.
add-apt-repository ppa:chris-lea/node.js
#Trying to avoid multiple apt-get's running simultaneously (in the

View File

@@ -1,6 +1,10 @@
#!/bin/bash
# This script installs rsyslog and the library for RELP
#The while loops in the script, which are added as a workaround to
#make sure multiple apt-get's do not run simultaneously, can be removed
#safely if an orchestrator executing this script is handling the situation.
#Trying to avoid multiple apt-get's running simultaneously (in the
#rare occasion that the apt-get command fails rerun the script).
while [[ "$(ps -A | grep apt-get | awk '{print $1}')" != "" ]]; do