Remove hard-coded roles in EnabledServices output

This was missed during custom-roles work, and will mean deployments
break if any of the existing roles are removed from roles_data.yaml

Change-Id: Ia737b48a0dd272f8d706b7458764201fa47cb0bb
Closes-Bug: #1625755
This commit is contained in:
Steven Hardy 2016-09-21 11:16:03 +01:00
parent 56057325a9
commit d5a25f96d2
1 changed files with 3 additions and 5 deletions

View File

@ -536,8 +536,6 @@ outputs:
EnabledServices:
description: The services enabled on each role
value:
Controller: {get_attr: [ControllerServiceChain, role_data, service_names]}
Compute: {get_attr: [ComputeServiceChain, role_data, service_names]}
BlockStorage: {get_attr: [BlockStorageServiceChain, role_data, service_names]}
ObjectStorage: {get_attr: [ObjectStorageServiceChain, role_data, service_names]}
CephStorage: {get_attr: [CephStorageServiceChain, role_data, service_names]}
{% for role in roles %}
{{role.name}}: {get_attr: [{{role.name}}ServiceChain, role_data, service_names]}
{% endfor %}