Revert "Revert "oran-shell-release: release image for F""
[pti/rtp.git] / meta-starlingx / meta-stx-cloud / recipes-support / puppet / files / puppetlabs-apache / 0001-maint-Fix-conditional-in-vhost-ssl-template.patch
1 From aa11baed37639d37adfbb18f5431f597a6cedee8 Mon Sep 17 00:00:00 2001
2 From: Bryan Jen <bryan.jen@gmail.com>
3 Date: Thu, 15 Dec 2016 23:22:53 +0000
4 Subject: [PATCH 1/2] (maint) Fix conditional in vhost ssl template
5
6 ---
7  templates/vhost/_ssl.erb | 2 +-
8  1 file changed, 1 insertion(+), 1 deletion(-)
9
10 diff --git a/templates/vhost/_ssl.erb b/templates/vhost/_ssl.erb
11 index 1ca7cbfb..c92f70c8 100644
12 --- a/templates/vhost/_ssl.erb
13 +++ b/templates/vhost/_ssl.erb
14 @@ -49,7 +49,7 @@
15    <%- if @ssl_stapling_timeout && scope.function_versioncmp([@apache_version, '2.4']) >= 0 -%>
16    SSLStaplingResponderTimeout <%= @ssl_stapling_timeout %>
17    <%- end -%>
18 -  <%- if not @ssl_stapling_return_errors.nil? && scope.function_versioncmp([@apache_version, '2.4']) >= 0 -%>
19 +  <%- if (not @ssl_stapling_return_errors.nil? && scope.function_versioncmp([@apache_version, '2.4']) >= 0) -%>
20    SSLStaplingReturnResponderErrors <%= scope.function_bool2httpd([@ssl_stapling_return_errors]) %>
21    <%- end -%>
22  <% end -%>
23 -- 
24 2.17.1
25