Update user domain for customer heat template
Change-Id: I1a03e58f96af57fb6737c7c2eedd519bafbefb6d
This commit is contained in:
parent
09fb39e961
commit
0d9596317e
@ -40,7 +40,6 @@ def yamlbuilder(alldata, region):
|
||||
yaml_version = conf.yaml_configs.customer_yaml.yaml_version
|
||||
yaml_type = conf.yaml_configs.customer_yaml.yaml_options.type
|
||||
|
||||
auth_domain = conf.authentication.user_domain_name
|
||||
domain = region['domain_name']
|
||||
title = {'heat_template_version': yaml_version}
|
||||
description = {'description': 'yaml file for region - %s' % region['name']}
|
||||
@ -108,7 +107,7 @@ def yamlbuilder(alldata, region):
|
||||
else:
|
||||
resources['resources'][user['id']] = \
|
||||
{'type': 'OS::Keystone::UserRoleAssignment\n',
|
||||
'properties': {'user': (user['id'] + "{%s}" % auth_domain),
|
||||
'properties': {'user': (user['id'] + "{%s}" % domain),
|
||||
'roles': user_roles}}
|
||||
|
||||
# create the output for users
|
||||
|
Loading…
x
Reference in New Issue
Block a user