Merge "Correct reproducer dependency detection and adds missing git"
This commit is contained in:
commit
a0750a48a2
@ -167,14 +167,16 @@ function check_installed {
|
|||||||
if ! which $binary >/dev/null ; then
|
if ! which $binary >/dev/null ; then
|
||||||
echo "Error: Could not find required binary $binary. Ensure you have
|
echo "Error: Could not find required binary $binary. Ensure you have
|
||||||
it installed before trying again."
|
it installed before trying again."
|
||||||
exit 1
|
return 1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
BOOTSTRAP_DEPENDENCIES=("virtualenv" "ansible" "pip" "openstack" "heat")
|
BOOTSTRAP_DEPENDENCIES=("git" "virtualenv" "ansible" "pip" "openstack" "heat")
|
||||||
function check_bootstrap_dependencies {
|
function check_bootstrap_dependencies {
|
||||||
|
status=0
|
||||||
for dependency in ${BOOTSTRAP_DEPENDENCIES[@]} ; do
|
for dependency in ${BOOTSTRAP_DEPENDENCIES[@]} ; do
|
||||||
check_installed $dependency
|
check_installed $dependency || status=1
|
||||||
done
|
done
|
||||||
|
return $status
|
||||||
}
|
}
|
||||||
|
|
||||||
# Check that tenant credentials have been sourced
|
# Check that tenant credentials have been sourced
|
||||||
|
Loading…
Reference in New Issue
Block a user