Skip to content

Commit

Permalink
CTS: Fix installation helper
Browse files Browse the repository at this point in the history
  • Loading branch information
beekhof committed May 12, 2015
1 parent 0f7bb7c commit a78b289
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions cts/cts
Expand Up @@ -227,21 +227,22 @@ if [ $install = 1 ]; then
cluster-helper -g $cluster_name -- yum install -y pacemaker pacemaker-debuginfo pacemaker-cts libqb libqb-debuginfo
fi

if [ $boot = 1 ]; then
if [ $setup = 1 ]; then
cluster-init -g $cluster_name $target -u --test
exit 0

elif [ $boot = 1 ]; then
$cts_root/CTSlab.py -r -c -g $cluster_name --boot
rc=$?
if [ $rc = 0 ]; then
echo "The cluster is ready..."
fi
exit $rc

elif [ $run = 1 ]; then
$cts_root/CTSlab.py -r -c -g $cluster_name 500 $*
exit $?

elif [ $setup = 1 ]; then
cluster-init -g $cluster_name $target -u --test
exit 0

elif [ $clean = 1 ]; then
exit 0
fi
Expand Down

0 comments on commit a78b289

Please sign in to comment.