cb120f05bb
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: I247fd8d9b3c5b153cb6837b39a77f5c7ca8aeb29 Signed-off-by: Major Hayden <major@mhtx.net> |
||
---|---|---|
defaults | ||
doc | ||
examples | ||
files | ||
handlers | ||
meta | ||
releasenotes | ||
tasks | ||
templates | ||
tests | ||
vars | ||
.gitignore | ||
.gitreview | ||
CONTRIBUTING.rst | ||
LICENSE | ||
README.rst | ||
Vagrantfile | ||
bindep.txt | ||
manual-test.rc | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Team and repository tags
OpenStack-Ansible LXC container create
- Documentation for the project can be found at:
-
http://docs.openstack.org/developer/openstack-ansible-lxc_container_create/
- The project home is at: