From 539ec43882780194471b3cba9d5f3e230a50a60b Mon Sep 17 00:00:00 2001 From: Adam Gandelman Date: Tue, 18 Mar 2014 18:57:43 -0700 Subject: [PATCH] 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 --- functions-common | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/functions-common b/functions-common index c6fd5c7163..e6caaa3bff 100644 --- a/functions-common +++ b/functions-common @@ -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