Due to the following code the connection to vSphere is always insecure; https://github.com/puppetlabs/vmpooler/blob/master/lib/vmpooler/vsphere_helper.rb#L29 ``` insecure: credentials['insecure'] || true ``` This is because `||` is a binary or operator and anything that is `xxx or true` will evaluate to true. I imagine the original intent was if `credentials['insecure']` is nil then default to true otherwise use `credentials['insecure']`
Due to the following code the connection to vSphere is always insecure;
https://github.com/puppetlabs/vmpooler/blob/master/lib/vmpooler/vsphere_helper.rb#L29
This is because
||is a binary or operator and anything that isxxx or truewill evaluate to true.I imagine the original intent was if
credentials['insecure']is nil then default to true otherwise usecredentials['insecure']