The find_least_used_compatible_host in the vsphere_helper throws an comparison of Array with Array failed error if two or more hosts shared the same utilisation.
This appears to be because Array.sort does not like/support this scenario in
https://github.com/puppetlabs/vmpooler/blob/master/lib/vmpooler/vsphere_helper.rb#L269
Instead we may need to implement our own comparison operator e.g. (this is an example only)
target_host = target_hosts.sort do |x,y|
x <=> y || 1
end