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:
James Slagle 2018-10-23 08:59:32 -04:00 committed by Alex Schultz
parent b3116f6ab7
commit c79ff5e114
1 changed files with 0 additions and 9 deletions

View File

@ -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