Remove deployments.yaml from role directory
As https://review.openstack.org/574474 merged awhile ago, we can now remove the code that copied deployments.yaml to the individual role directories. Change-Id: Iab4ee02be3427d659116e1fe3e4d9fafa3dd66b7
This commit is contained in:
parent
b3116f6ab7
commit
c79ff5e114
@ -465,15 +465,6 @@ class Config(object):
|
||||
os.path.join(templates_path, 'deployments.yaml'),
|
||||
os.path.join(config_dir, 'deployments.yaml'))
|
||||
|
||||
# Also copy deployments.yaml to the role dir for temporary backwards
|
||||
# compatibility until https://review.openstack.org/574474 merges.
|
||||
for role_name, role in six.iteritems(role_data):
|
||||
role_path = os.path.join(config_dir, role_name)
|
||||
|
||||
shutil.copyfile(
|
||||
os.path.join(templates_path, 'deployments.yaml'),
|
||||
os.path.join(role_path, 'deployments.yaml'))
|
||||
|
||||
self.log.info("The TripleO configuration has been successfully "
|
||||
"generated into: %s" % config_dir)
|
||||
return config_dir
|
||||
|
Loading…
Reference in New Issue
Block a user