mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
Merge pull request #261 from mattkirby/fix_ignore_cert
Change default vsphere connection behavior
This commit is contained in:
commit
89e1f17738
2 changed files with 2 additions and 2 deletions
|
|
@ -403,7 +403,7 @@ module Vmpooler
|
||||||
connection = RbVmomi::VIM.connect host: provider_config['server'],
|
connection = RbVmomi::VIM.connect host: provider_config['server'],
|
||||||
user: provider_config['username'],
|
user: provider_config['username'],
|
||||||
password: provider_config['password'],
|
password: provider_config['password'],
|
||||||
insecure: provider_config['insecure'] || true
|
insecure: provider_config['insecure'] || false
|
||||||
metrics.increment('connect.open')
|
metrics.increment('connect.open')
|
||||||
return connection
|
return connection
|
||||||
rescue => err
|
rescue => err
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,7 @@
|
||||||
#
|
#
|
||||||
# - insecure
|
# - insecure
|
||||||
# Whether to ignore any HTTPS negotiation errors (e.g. untrusted self-signed certificates)
|
# Whether to ignore any HTTPS negotiation errors (e.g. untrusted self-signed certificates)
|
||||||
# (optional: default true)
|
# (optional: default false)
|
||||||
#
|
#
|
||||||
# - datacenter
|
# - datacenter
|
||||||
# The datacenter within vCenter to manage VMs. This can be overridden in the pool configuration
|
# The datacenter within vCenter to manage VMs. This can be overridden in the pool configuration
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue