Fix dir when copying deployments.yaml
This patch corrects the backport that was done in commit574ce9450f
. Although the previous backport applied with no conflicts, it did not actually work semanatically due to a refactoring from a different patch (f8aa548ca6
) that had not been backported to queens. The issue is now corrected in this patch by using the correct directory (tmp_path) when copying deployments.yaml. Change-Id: I423d48757569f6c8f07078d453486196d3174e7a
This commit is contained in:
parent
574ce9450f
commit
b5d347503f
|
@ -373,7 +373,7 @@ class Config(object):
|
|||
|
||||
shutil.copyfile(
|
||||
os.path.join(templates_path, 'deployments.yaml'),
|
||||
os.path.join(config_dir, 'deployments.yaml'))
|
||||
os.path.join(tmp_path, 'deployments.yaml'))
|
||||
|
||||
# Also copy deployments.yaml to the role dir for temporary backwards
|
||||
# compatibility until https://review.openstack.org/574474 merges.
|
||||
|
|
Loading…
Reference in New Issue