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