Merge "Add the role heat_stack_user for heat"

This commit is contained in:
Jenkins 2012-12-12 18:17:22 +00:00 committed by Gerrit Code Review
commit d85f503e9a

View File

@ -71,6 +71,8 @@ if [[ "$ENABLED_SERVICES" =~ "heat" ]]; then
keystone user-role-add --tenant_id $SERVICE_TENANT \ keystone user-role-add --tenant_id $SERVICE_TENANT \
--user_id $HEAT_USER \ --user_id $HEAT_USER \
--role_id $ADMIN_ROLE --role_id $ADMIN_ROLE
# heat_stack_user role is for users created by Heat
keystone role-create --name heat_stack_user
if [[ "$KEYSTONE_CATALOG_BACKEND" = 'sql' ]]; then if [[ "$KEYSTONE_CATALOG_BACKEND" = 'sql' ]]; then
HEAT_CFN_SERVICE=$(get_id keystone service-create \ HEAT_CFN_SERVICE=$(get_id keystone service-create \
--name=heat-cfn \ --name=heat-cfn \