Browse code

Merge "Always set the Heat deferred auth method"

Jenkins authored on 2015/03/28 05:35:22
Showing 1 changed files
... ...
@@ -124,6 +124,8 @@ function configure_heat {
124 124
         setup_colorized_logging $HEAT_CONF DEFAULT tenant user
125 125
     fi
126 126
 
127
+    iniset $HEAT_CONF DEFAULT deferred_auth_method $HEAT_DEFERRED_AUTH
128
+
127 129
     # NOTE(jamielennox): heat re-uses specific values from the
128 130
     # keystone_authtoken middleware group and so currently fails when using the
129 131
     # auth plugin setup. This should be fixed in heat.  Heat is also the only
... ...
@@ -269,10 +271,6 @@ function create_heat_accounts {
269 269
         get_or_create_role "heat_stack_user"
270 270
     fi
271 271
 
272
-    if [[ $HEAT_DEFERRED_AUTH == trusts ]]; then
273
-        iniset $HEAT_CONF DEFAULT deferred_auth_method trusts
274
-    fi
275
-
276 272
     if [[ "$HEAT_STACK_DOMAIN" == "True" ]]; then
277 273
         # Note we have to pass token/endpoint here because the current endpoint and
278 274
         # version negotiation in OSC means just --os-identity-api-version=3 won't work