From 387aadd14e87f2890ad8969c15edbe9f1d218a5a Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Thu, 14 Sep 2017 09:25:59 -0600 Subject: [PATCH] Install neutron rpms/debs when lib/neutron is used lib/neutron service prefixes are neutron-* not q-*. We should install those packages either way. The patch moves files/*/neutron into files/*/neutron-common so that we can correctly match */neutron against service specific dependency files (f.e. */neutron-agent) and load the common packages if any neutron-* service is present. Change-Id: I57b36f2ed3f33737223a35d9ed734bb414f31e0b --- files/debs/{neutron => neutron-common} | 0 files/rpms-suse/{neutron => neutron-common} | 0 files/rpms/{neutron => neutron-common} | 0 functions-common | 6 +++--- 4 files changed, 3 insertions(+), 3 deletions(-) rename files/debs/{neutron => neutron-common} (100%) rename files/rpms-suse/{neutron => neutron-common} (100%) rename files/rpms/{neutron => neutron-common} (100%) diff --git a/files/debs/neutron b/files/debs/neutron-common similarity index 100% rename from files/debs/neutron rename to files/debs/neutron-common diff --git a/files/rpms-suse/neutron b/files/rpms-suse/neutron-common similarity index 100% rename from files/rpms-suse/neutron rename to files/rpms-suse/neutron-common diff --git a/files/rpms/neutron b/files/rpms/neutron-common similarity index 100% rename from files/rpms/neutron rename to files/rpms/neutron-common diff --git a/functions-common b/functions-common index deebdec249..33639c5936 100644 --- a/functions-common +++ b/functions-common @@ -1211,9 +1211,9 @@ function get_packages { if [[ ! $file_to_parse =~ $package_dir/keystone ]]; then file_to_parse="${file_to_parse} ${package_dir}/keystone" fi - elif [[ $service == q-* ]]; then - if [[ ! $file_to_parse =~ $package_dir/neutron ]]; then - file_to_parse="${file_to_parse} ${package_dir}/neutron" + elif [[ $service == q-* || $service == neutron-* ]]; then + if [[ ! $file_to_parse =~ $package_dir/neutron-common ]]; then + file_to_parse="${file_to_parse} ${package_dir}/neutron-common" fi elif [[ $service == ir-* ]]; then if [[ ! $file_to_parse =~ $package_dir/ironic ]]; then