Fixes issue with deploy copying from /tmp and clean bailing early 78/1378/1
authorTim Rozet <trozet@redhat.com>
Tue, 1 Sep 2015 20:41:28 +0000 (16:41 -0400)
committerTim Rozet <trozet@redhat.com>
Tue, 1 Sep 2015 20:41:28 +0000 (16:41 -0400)
commit18ea7aaaaf32eb7027008196f2c784cd156fb5d9
tree05cd763c35a078a27e3127a399556add376348fd
parent52639193804c6da3765066ce0f2aa365d381f897
Fixes issue with deploy copying from /tmp and clean bailing early

deploy.sh was failing in user deployments because the necessary puppet
modules and vagrant files were being copied accidentally from /tmp and
not the script directory.  This patch fixes that issue.  clean.sh was
failing checks to see if vagrant or virtualbox was still running, due to
a bug with checking "ps" and using grep.  This patch resolves that.

JIRA: APEX-16,APEX-17

Change-Id: I1faa6fc134c0308acb2e7b14be30f7cd3c99d109
Signed-off-by: Tim Rozet <trozet@redhat.com>
foreman/ci/clean.sh
foreman/ci/deploy.sh