Browse code

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

Adam Gandelman authored on 2014/03/19 10:57:43
Showing 1 changed files
... ...
@@ -824,6 +824,10 @@ function get_packages {
824 824
             if [[ ! $file_to_parse =~ neutron ]]; then
825 825
                 file_to_parse="${file_to_parse} neutron"
826 826
             fi
827
+        elif [[ $service == ir-* ]]; then
828
+            if [[ ! $file_to_parse =~ ironic ]]; then
829
+                file_to_parse="${file_to_parse} ironic"
830
+            fi
827 831
         fi
828 832
     done
829 833