Skip to content

Commit

Permalink
Running shfmt on the new files
Browse files Browse the repository at this point in the history
  • Loading branch information
neelimamukiri committed Jun 21, 2017
1 parent 46fb054 commit d78c2fb
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions scripts/vagrantup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,15 @@ set -euo pipefail

num_nodes=${CONTIV_NODES-2}
num_masters=${CONTIV_MASTERS-1}
((num_workers=$num_nodes - $num_masters))
((num_workers = $num_nodes - $num_masters))

orc=$1
cd cluster
vagrant up $orc-master
for (( n=1; n<$num_masters; n++ ))
do
vagrant up $orc-master$n
for ((n = 1; n < $num_masters; n++)); do
vagrant up $orc-master$n
done

for (( n=0; n<$num_workers; n++ ))
do
vagrant up $orc-worker$n
done
for ((n = 0; n < $num_workers; n++)); do
vagrant up $orc-worker$n
done

0 comments on commit d78c2fb

Please sign in to comment.