Apache: Use conditional instead of nested stack for TLS-specific bits
[apex-tripleo-heat-templates.git] / puppet / services / cinder-api.yaml
index 49a5f61..958b0e7 100644 (file)
@@ -80,10 +80,12 @@ outputs:
         map_merge:
           - get_attr: [CinderBase, role_data, config_settings]
           - get_attr: [ApacheServiceBase, role_data, config_settings]
-          - cinder::keystone::authtoken::auth_uri: {get_param: [EndpointMap, KeystoneInternal, uri]}
+          - cinder::keystone::authtoken::auth_uri: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix]}
             cinder::keystone::authtoken::auth_url: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix]}
             cinder::keystone::authtoken::password: {get_param: CinderPassword}
             cinder::keystone::authtoken::project_name: 'service'
+            cinder::keystone::authtoken::user_domain_name: 'Default'
+            cinder::keystone::authtoken::project_domain_name: 'Default'
             cinder::api::enable_proxy_headers_parsing: true
 
             cinder::api::nova_catalog_info: 'compute:nova:internalURL'
@@ -167,7 +169,7 @@ outputs:
         - name: Stop cinder_api service (running under httpd)
           tags: step1
           service: name=httpd state=stopped
-          when: "cinder_apache.rc == 0"
+          when: cinder_apache.rc == 0
         - name: Stop and disable cinder_api service (pre-upgrade not under httpd)
           tags: step1
           when: cinder_api_enabled.rc == 0