Init command was not working properly as it could not locate the
configuration sample file.
Steps taken:
- Move config-generator.tempest.conf to etc so it will be installed
with pbr.
- Update all files with new path to config-generator-tempest.conf as
needed.
- Refactor init command so if it detects we are not in a virtual
environment, try to find the global config directory /etc/tempest.
If that fails fallback to [sys.prefix]/etc/tempest.
Reviewed: https:/ /review. openstack. org/224338 /git.openstack. org/cgit/ openstack/ tempest/ commit/ ?id=0bf52d497be bb3a0b393f2a886 2eaf5161d76d79
Committed: https:/
Submitter: Jenkins
Branch: master
commit 0bf52d497bebb3a 0b393f2a8862eaf 5161d76d79
Author: David Paterson <email address hidden>
Date: Mon Apr 13 21:55:58 2015 -0400
Fix init command
Init command was not working properly as it could not locate the generator. tempest. conf to etc so it will be installed generator- tempest. conf as /etc/tempest.
configuration sample file.
Steps taken:
- Move config-
with pbr.
- Update all files with new path to config-
needed.
- Refactor init command so if it detects we are not in a virtual
environment, try to find the global config directory /etc/tempest.
If that fails fallback to [sys.prefix]
Closes-Bug: #1491058 2b0441ef63dff8e c4fb268fd3a
Closes-Bug: #1490670
Change-Id: I960bc711ff78ac