Parse Ironic packages files/{apts, rpms}/ironic

When VIRT_DRIVER=ironic, make sure devstack picks up packages listed in its
respective packages file.  These were previously missed unless "ironic" was
explictly added to the enabled services.  This ensures required packages
are installed for any of the ir-* services.

Change-Id: I3d70009819a3a6933220cabd5a951a20c7b48849
This commit is contained in:
Adam Gandelman 2014-03-18 18:57:43 -07:00
parent 871b1e4709
commit 539ec43882
1 changed files with 4 additions and 0 deletions

View File

@ -824,6 +824,10 @@ function get_packages {
if [[ ! $file_to_parse =~ neutron ]]; then
file_to_parse="${file_to_parse} neutron"
fi
elif [[ $service == ir-* ]]; then
if [[ ! $file_to_parse =~ ironic ]]; then
file_to_parse="${file_to_parse} ironic"
fi
fi
done