Add the role heat_stack_user for heat

Change-Id: I0c3ac92d222ff746baca817002821f109815fee9
This commit is contained in:
Steve Baker 2012-12-11 17:08:48 +13:00
parent c50a86e917
commit 053a5f8425

View File

@ -93,6 +93,8 @@ if [[ "$ENABLED_SERVICES" =~ "heat" ]]; then
keystone user-role-add --tenant_id $SERVICE_TENANT \
--user_id $HEAT_USER \
--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
HEAT_CFN_SERVICE=$(get_id keystone service-create \
--name=heat-cfn \