Moved 80% of Foreman deploy.sh into functions 92/892/1
authorrandyl <r.levensalor@cablelabs.com>
Wed, 24 Jun 2015 18:55:53 +0000 (12:55 -0600)
committerrandyl <r.levensalor@cablelabs.com>
Wed, 24 Jun 2015 18:55:53 +0000 (12:55 -0600)
commit3fea98bc7bd7f0f411c2be1be7665a569ec8fb0a
tree91343f2390ebbf8f60dbc9479bcf48941754dcf5
parent81003db8003ccc9766d32176e35b1409cf145bdc
Moved 80% of Foreman deploy.sh into functions

To help with readability and troubleshooting, the 80% of the
script that was not in a function were added to functions
based on logical blocks.

Neither functional nor order of execution changes were made
to the script.

Since most of the file and other Foreman CI scripts use a
2 space indent, that was also applied uniformly across the
file.

Change-Id: I83b96e231d484813025f6aa900cf2ffc92e94397
Signed-off-by: randyl <r.levensalor@cablelabs.com>
foreman/ci/deploy.sh