From f106240ca5c95c8614e9391e094b786a3523743f Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Tue, 1 May 2012 16:43:15 -0400 Subject: [PATCH] n-api also requires glance for now make sure to install it's dependencies Change-Id: I05b34709aa94048a2f4f80e8d46b2f61c95ed81a --- stack.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/stack.sh b/stack.sh index 71c5ffc46e..3dc502623a 100755 --- a/stack.sh +++ b/stack.sh @@ -586,7 +586,16 @@ function get_packages() { if [[ -e ${package_dir}/${service} ]]; then file_to_parse="${file_to_parse} $service" fi - if [[ $service == n-* ]]; then + # NOTE(sdague) n-api needs glance for now because that's where + # glance client is + if [[ $service == n-api ]]; then + if [[ ! $file_to_parse =~ nova ]]; then + file_to_parse="${file_to_parse} nova" + fi + if [[ ! $file_to_parse =~ glance ]]; then + file_to_parse="${file_to_parse} glance" + fi + elif [[ $service == n-* ]]; then if [[ ! $file_to_parse =~ nova ]]; then file_to_parse="${file_to_parse} nova" fi