Add HorizonSecureCookies to environments/ssl/enable-tls.yaml

It was missing and breaking folks trying to use it.

Conflicts:
	sample-env-generator/ssl.yaml

Change-Id: I06c3a8499ce72973f850df60961226a168ba49e4
Closes-Bug: #1812211
(cherry picked from commit eb52c794d9)
This commit is contained in:
Juan Antonio Osorio Robles 2019-01-17 14:40:49 +02:00
parent 421939f204
commit faa179fc6c
2 changed files with 8 additions and 0 deletions

View File

@ -10,6 +10,10 @@
# For these values to take effect, one of the tls-endpoints-*.yaml environments
# must also be used.
parameter_defaults:
# Set CSRF_COOKIE_SECURE / SESSION_COOKIE_SECURE in Horizon
# Type: boolean
HorizonSecureCookies: True
# The content of the SSL certificate (without Key) in PEM format.
# Type: string
SSLCertificate: |

View File

@ -9,6 +9,9 @@ environments:
files:
puppet/extraconfig/tls/tls-cert-inject.yaml:
parameters: all
puppet/services/horizon.yaml:
parameters:
- HorizonSecureCookies
static:
# This should probably be private, but for testing static params I'm
# setting it as such for now.
@ -20,6 +23,7 @@ environments:
SSLKey: |-
|
The contents of the private key go here
HorizonSecureCookies: True
resource_registry:
OS::TripleO::NodeTLSData: ../../puppet/extraconfig/tls/tls-cert-inject.yaml
-