Variable name accidentally being templated out

Seeing <VirtualHost 0.0.0.0:horizon_listen_ports.http> in
openstack-dashboard.conf instead of the port number.
Removed unnecessary quotes in the ternary so the variable works.

Change-Id: I126c03267361abfe894b17dc97c76a19a6b090dc
This commit is contained in:
Georgina Shippey 2019-10-29 16:26:44 +00:00
parent 10aa884a16
commit f64c3d8fd7
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@
# If horizon is being served via SSL via a load balancer, we
# need to listen via HTTP on this web server. If SSL is not
# enabled, then the same applies.
<VirtualHost {{ horizon_bind_address }}:{{ ((horizon_enable_ssl | bool) and not (horizon_external_ssl | bool)) | ternary('horizon_listen_ports.https', 'horizon_listen_ports.http') }}>
<VirtualHost {{ horizon_bind_address }}:{{ ((horizon_enable_ssl | bool) and not (horizon_external_ssl | bool)) | ternary(horizon_listen_ports.https, horizon_listen_ports.http) }}>
ServerName {{ horizon_server_name }}
LogLevel {{ horizon_log_level }}
ErrorLog syslog:daemon