Changed condition for ca_file variable setup

Fixed wrong conditions for setup ca_file variable in the puppet template
for nsx.ini configuration file.

Change-Id: I795adc24133a1865ba40feb3b74d03d34f13e9e0
Closes-Bug: #1605120
This commit is contained in:
Artem Savinov 2016-07-21 11:31:07 +03:00
parent 4d17934c13
commit c6f9182e08

View File

@ -8,7 +8,7 @@ manager_uri = https://<%= settings['nsxv_manager_host'] %>
insecure = <%= scope.lookupvar('insecure') %>
# (Optional) Specify a CA bundle file to use in verifying the NSXv server certificate.
<% if not (settings['ca_file']).to_s.strip.empty? -%>
<% if not (scope.lookupvar('ca_file')).to_s.strip.empty? -%>
ca_file = <%= scope.lookupvar('ca_file') %>
<% else -%>
# ca_file =