mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
Fixing queue name
This commit is contained in:
parent
fabea30dbb
commit
3859eb85c2
1 changed files with 1 additions and 2 deletions
|
|
@ -83,7 +83,7 @@ def clone_vm template, pool, folder, datastore
|
|||
finish = '%.2f' % (Time.now-start)
|
||||
|
||||
# Add VM to Redis inventory ('pending' pool)
|
||||
$redis.sadd('vmware_host_pool__pending__'+pool, vm['hostname'])
|
||||
$redis.sadd('vmware_host_pool__pending__'+vm['template'], vm['hostname'])
|
||||
|
||||
$logger.log('s', "[+] '#{vm['hostname']}' cloned from '#{vm['template']}' in #{finish} seconds")
|
||||
|
||||
|
|
@ -95,7 +95,6 @@ end
|
|||
|
||||
|
||||
|
||||
|
||||
# Update loop
|
||||
loop do
|
||||
pools.each do |pool|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue