Add missing config file read to tempest init
The update_local_conf() portion of tempest init was never reading the
config file. In the case we prepopulate a tempest.conf from the global
state /etc dir this would result in tempest init duplicating options
and sections that already existed. This commit fixes the issue by
simply reading the file before we do any operations.
Also add test coverage to ensure existing settings are not overwritten.
Co-authored-by: Augustina Ragwitz <auggy@cpan.org>
Change-Id: Ie629df246fc40777f2017b78e4073ae833b64deb
2 files changed