From 4ce585adfb1eef9f0ed8fac101622dfb89fee128 Mon Sep 17 00:00:00 2001
From: Jesse Pretorius <jesse.pretorius@rackspace.co.uk>
Date: Fri, 4 Sep 2015 13:29:16 +0100
Subject: [PATCH] Fix keystone shibboleth template to detect ssl usage
 correctly

In https://review.openstack.org/194474 the variable keystone_ssl_enabled
was changed to keystone_ssl, but the shibboleth.xml template was missed
in the change.

This patch corrects that.

Change-Id: I8248d01f37d35ddc910d06a4295760ea8924971d
Closes-Bug: #1492250
---
 playbooks/roles/os_keystone/templates/shibboleth2.xml.j2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/playbooks/roles/os_keystone/templates/shibboleth2.xml.j2 b/playbooks/roles/os_keystone/templates/shibboleth2.xml.j2
index 1aff057a4e..4b38a8422b 100644
--- a/playbooks/roles/os_keystone/templates/shibboleth2.xml.j2
+++ b/playbooks/roles/os_keystone/templates/shibboleth2.xml.j2
@@ -14,7 +14,7 @@
                   timeout="3600"
                   relayState="ss:mem"
                   checkAddress="false"
-                  handlerSSL="{% if keystone_ssl_enabled | bool %}true{% else %}false{% endif %}"
+                  handlerSSL="{% if keystone_ssl | bool %}true{% else %}false{% endif %}"
                   {% if keystone_service_publicuri_proto == "https" %}cookieProps="; path=/; secure"{% endif %}>
 
             <!-- Triggers a login request directly to the IdP. -->