Fixed whitespace issues.
This commit is contained in:
@@ -10,5 +10,5 @@ check process redis with pidfile /var/run/redis_6379.pid
|
||||
stop program = "/usr/bin/redis-cli shutdown"
|
||||
|
||||
check process rpcbind
|
||||
matching "rpcbind"
|
||||
start program = "/usr/sbin/rpcbind"
|
||||
matching "rpcbind"
|
||||
start program = "/usr/sbin/rpcbind"
|
||||
|
@@ -18,24 +18,24 @@ function RunTestsSingle {
|
||||
curl -s -L 192.168.33.101 >> $LOGFILE 2>&1 || false
|
||||
|
||||
if [[ $? == "1" ]]; then
|
||||
echo "$1 install HTTP Check: failed"
|
||||
echo "$1 install HTTP Check: failed"
|
||||
else
|
||||
echo "$1 install HTTP Check: success"
|
||||
fi
|
||||
sleep 5
|
||||
|
||||
vagrant provision --provision-with update >> $LOGFILE 2>&1
|
||||
sleep 5
|
||||
echo "" >> $LOGFILE
|
||||
echo "Curl output after update:" >> $LOGFILE
|
||||
curl -s -L 192.168.33.101 >> $LOGFILE 2>&1 || false
|
||||
sleep 5
|
||||
echo "" >> $LOGFILE
|
||||
echo "Curl output after update:" >> $LOGFILE
|
||||
curl -s -L 192.168.33.101 >> $LOGFILE 2>&1 || false
|
||||
|
||||
if [[ $? == "1" ]]; then
|
||||
echo "$1 update HTTP Check: failed"
|
||||
else
|
||||
echo "$1 update HTTP Check: success"
|
||||
fi
|
||||
sleep 5
|
||||
if [[ $? == "1" ]]; then
|
||||
echo "$1 update HTTP Check: failed"
|
||||
else
|
||||
echo "$1 update HTTP Check: success"
|
||||
fi
|
||||
sleep 5
|
||||
|
||||
vagrant destroy -f >> $LOGFILE 2>&1
|
||||
unset VAGRANT_CWD
|
||||
|
@@ -178,8 +178,8 @@ function InstallDependenciesDebian {
|
||||
echo "Enabling and starting redis service"
|
||||
/bin/systemctl enable redis-server >/dev/null && /bin/systemctl start redis-server >/dev/null
|
||||
|
||||
echo "Enabling and starting rpcbind service"
|
||||
/bin/systemctl enable rpcbind >/dev/null && /bin/systemctl start rpcbind >/dev/null
|
||||
echo "Enabling and starting rpcbind service"
|
||||
/bin/systemctl enable rpcbind >/dev/null && /bin/systemctl start rpcbind >/dev/null
|
||||
|
||||
} 2>$LOGFILE
|
||||
|
||||
|
Reference in New Issue
Block a user