* modules/openstack_project/files/nodepool/scripts/devstack-cache.py:
When running on Ubuntu only debs will be listed for install, when
running on Fedora only RPMs will be listed for install. Handle the lack
of the other when checking which should be installed (use dict.get
instead of a normal index operation which will throw a KeyError instead
of returning None). Add an error message if no debs or rpms are found.
Change-Id: Iafb57f43ce6b51414593b909e1a9fde7c7c0ebf0
* modules/openstack_project/files/nodepool/scripts/devstack-cache.py:
Since subprocess.Popen doesn't expand user when the default
shell=False is in effect, make a separate os.path.expanduser call to
resolve the destination path for caching downloads.
Change-Id: Ia0024d03ea23f201f6e88ba14ff6b478f32c0684