4181e62d539f33c90e3276c0c6ebf6ce6f71c8c8

The run_tests.sh script fails when it is run multiple times on CentOS. The `bindep` run returns an empty list of packages and then `yum` exits with an error since no packages were provided to install. This patch checks the length of the `bindep` output and skips the `yum` installation when the package list is empty. The patch also cleans up some of the old cruft left over from previous scripts and avoids repetition. Change-Id: Idbbf2931fde7c85c07a23a8fcaaf2beaedba4bf9 Signed-off-by: Major Hayden <major@mhtx.net>
Team and repository tags
APT Package pinning for OpenStack-Ansible
- Documentation for the project can be found at:
-
http://docs.openstack.org/developer/openstack-ansible-apt_package_pinning/
- The project home is at:
Description
Languages
Python
93.5%
Jinja
6.5%