Switch mistral to use authtoken configuration
authorAlex Schultz <aschultz@redhat.com>
Sat, 10 Dec 2016 22:58:20 +0000 (15:58 -0700)
committerAlex Schultz <aschultz@redhat.com>
Sat, 10 Dec 2016 22:58:20 +0000 (15:58 -0700)
The upstream puppet module is adding the proper keystone authtoken
middleware support. This change updates THT to use the keystone
authtoken class rather than the deprecated settings. This also allows
for proper keystone v3 integration.

Change-Id: Iaf82716122a25e3e0785de1250d24edaaa5e4d04
Depends-On: I71969ef09018f9daa5f81c4f3bcbdb0b0974446c

puppet/services/mistral-base.yaml

index a11624c..6a842a1 100644 (file)
@@ -70,8 +70,10 @@ outputs:
         mistral::rabbit_use_ssl: {get_param: RabbitClientUseSSL}
         mistral::rabbit_port: {get_param: RabbitClientPort}
         mistral::debug: {get_param: Debug}
-        mistral::keystone_password: {get_param: MistralPassword}
-        mistral::keystone_tenant: 'service'
+        mistral::keystone::authtoken::project_name: 'service'
+        mistral::keystone::authtoken::password: {get_param: MistralPassword}
+        mistral::keystone::authtoken::auth_uri: {get_param: [EndpointMap, KeystoneInternal, uri] }
+        mistral::keystone::authtoken::auth_url: {get_param: [EndpointMap, KeystoneAdmin, uri_no_suffix]}
         mistral::auth_uri: {get_param: [EndpointMap, KeystoneInternal, uri]}
         mistral::keystone_ec2_uri: {get_param: [EndpointMap, KeystoneEC2, uri]}
         mistral::identity_uri: {get_param: [EndpointMap, KeystoneAdmin, uri_no_suffix]}