mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
Add some documentation to get_vm_hash
This commit is contained in:
parent
a6c2ef7bf3
commit
170d2090f8
1 changed files with 2 additions and 0 deletions
|
|
@ -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?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue