set novnc protocol depending on is ssl is enabled on horizon
Change-Id: Iaacc2c9e48e4fd70c87965395545624d42dee95a
This commit is contained in:
parent
357d34c0cc
commit
1b054d29be
|
@ -151,6 +151,15 @@ class bcf::p_only::compute {
|
|||
enable => true,
|
||||
}
|
||||
|
||||
$public_ssl = hiera('public_ssl')
|
||||
$horizon_ssl = $public_ssl['horizon']
|
||||
if $horizon_ssl {
|
||||
$novnc_protocol = 'https'
|
||||
}
|
||||
else {
|
||||
$novnc_protocol = 'http'
|
||||
}
|
||||
|
||||
# update nova.conf for novncproxy_base_url
|
||||
ini_setting { "nova novncproxy_base_url":
|
||||
ensure => present,
|
||||
|
|
Loading…
Reference in New Issue