mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 10:08:40 -05:00
Use 'find_vm_heavy' to find VMs with mismatched hostnames
This commit is contained in:
parent
954dd6fafd
commit
dc69f13422
1 changed files with 2 additions and 1 deletions
|
|
@ -103,7 +103,8 @@ def check_ready_vm vm, pool, ttl
|
|||
)
|
||||
$redis.hset('vmware_host_pool__vm__'+vm, 'check', Time.now)
|
||||
|
||||
host = $vsphere[pool].find_vm(vm)
|
||||
host = $vsphere[pool].find_vm(vm) ||
|
||||
$vsphere[pool].find_vm_heavy(vm)[vm]
|
||||
|
||||
if (host)
|
||||
if (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue