Browse code

Add the role heat_stack_user for heat

Change-Id: I0c3ac92d222ff746baca817002821f109815fee9

Steve Baker authored on 2012/12/11 13:08:48
Showing 1 changed files
... ...
@@ -93,6 +93,8 @@ if [[ "$ENABLED_SERVICES" =~ "heat" ]]; then
93 93
     keystone user-role-add --tenant_id $SERVICE_TENANT \
94 94
                            --user_id $HEAT_USER \
95 95
                            --role_id $ADMIN_ROLE
96
+    # heat_stack_user role is for users created by Heat
97
+    keystone role-create --name heat_stack_user
96 98
     if [[ "$KEYSTONE_CATALOG_BACKEND" = 'sql' ]]; then
97 99
         HEAT_CFN_SERVICE=$(get_id keystone service-create \
98 100
             --name=heat-cfn \