Add some documentation to get_vm_hash

This commit is contained in:
kirby@puppetlabs.com 2018-07-03 09:12:05 -07:00
parent a6c2ef7bf3
commit 170d2090f8

View file

@ -353,6 +353,8 @@ module Vmpooler
nil
end
# Return a hash of VM data
# Provides vmname, hostname, template, poolname, boottime and powerstate information
def generate_vm_hash(vm_object, pool_name)
pool_configuration = pool_config(pool_name)
return nil if pool_configuration.nil?