Fix ssl template logic
If we *have* a value for the ssl_cert_file, we want to use the SSL template. Change-Id: I470642d6308b4cb59deacf8b7c8e849d0a8efb0d
This commit is contained in:
parent
0fb8056471
commit
7cd8a2d4a3
@ -117,9 +117,9 @@ class nodepool::builder(
|
|||||||
include ::httpd
|
include ::httpd
|
||||||
|
|
||||||
if $ssl_cert_file != '' {
|
if $ssl_cert_file != '' {
|
||||||
$http_template = 'nodepool/nodepool-builder.vhost.erb'
|
|
||||||
} else {
|
|
||||||
$http_template = 'nodepool/nodepool-builder.ssl.vhost.erb'
|
$http_template = 'nodepool/nodepool-builder.ssl.vhost.erb'
|
||||||
|
} else {
|
||||||
|
$http_template = 'nodepool/nodepool-builder.vhost.erb'
|
||||||
}
|
}
|
||||||
|
|
||||||
::httpd::vhost { $vhost_name:
|
::httpd::vhost { $vhost_name:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user