In find_pool in lib/vmpooler/vsphere_helper.rb if the poolname is not found the base object turns into nil (Assuming it's on the same hierarchy). However due to https://github.com/puppetlabs/vmpooler/blob/master/lib/vmpooler/vsphere_helper.rb#L292
base = base.resourcePool unless base.is_a?(RbVmomi::VIM::ResourcePool) && base.respond_to?(:resourcePool)
If base == nil then the unless is not trigged and and an error is thrown that resourcePool is a missing method on nil
In
find_poolinlib/vmpooler/vsphere_helper.rbif the poolname is not found the base object turns intonil(Assuming it's on the same hierarchy). However due to https://github.com/puppetlabs/vmpooler/blob/master/lib/vmpooler/vsphere_helper.rb#L292If
base == nilthen the unless is not trigged and and an error is thrown thatresourcePoolis a missing method onnil