| ... | ... |
@@ -587,7 +587,16 @@ function get_packages() {
|
| 587 | 587 |
if [[ -e ${package_dir}/${service} ]]; then
|
| 588 | 588 |
file_to_parse="${file_to_parse} $service"
|
| 589 | 589 |
fi |
| 590 |
- if [[ $service == n-* ]]; then |
|
| 590 |
+ # NOTE(sdague) n-api needs glance for now because that's where |
|
| 591 |
+ # glance client is |
|
| 592 |
+ if [[ $service == n-api ]]; then |
|
| 593 |
+ if [[ ! $file_to_parse =~ nova ]]; then |
|
| 594 |
+ file_to_parse="${file_to_parse} nova"
|
|
| 595 |
+ fi |
|
| 596 |
+ if [[ ! $file_to_parse =~ glance ]]; then |
|
| 597 |
+ file_to_parse="${file_to_parse} glance"
|
|
| 598 |
+ fi |
|
| 599 |
+ elif [[ $service == n-* ]]; then |
|
| 591 | 600 |
if [[ ! $file_to_parse =~ nova ]]; then |
| 592 | 601 |
file_to_parse="${file_to_parse} nova"
|
| 593 | 602 |
fi |