Allow individual services to specify dependencies. Also fixes lp897879: https://bugs.launchpad.net/bugs/897879
Change-Id: Ib9de4571501771f12b1aeb6550e94eea03643290
This commit is contained in:
parent
4d4d96dd20
commit
ef4e5367d2
1 changed files with 4 additions and 2 deletions
6
stack.sh
6
stack.sh
|
@ -386,6 +386,10 @@ function get_packages() {
|
|||
local service
|
||||
|
||||
for service in ${ENABLED_SERVICES//,/ }; do
|
||||
# Allow individual services to specify dependencies
|
||||
if [[ -e $FILES/apts/${service} ]]; then
|
||||
file_to_parse="${file_to_parse} $service"
|
||||
fi
|
||||
if [[ $service == n-* ]]; then
|
||||
if [[ ! $file_to_parse =~ nova ]]; then
|
||||
file_to_parse="${file_to_parse} nova"
|
||||
|
@ -398,8 +402,6 @@ function get_packages() {
|
|||
if [[ ! $file_to_parse =~ keystone ]]; then
|
||||
file_to_parse="${file_to_parse} keystone"
|
||||
fi
|
||||
elif [[ -e $FILES/apts/${service} ]]; then
|
||||
file_to_parse="${file_to_parse} $service"
|
||||
fi
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in a new issue