mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-27 02:18:41 -05:00
(QENG-3376) Allow lifetime to be set per-pool
At current vm_lifetime and vm_lifetime_auth are configured globally only. This change allows that value to be set/overridden per pool.
This commit is contained in:
parent
063d45c60b
commit
8a22434629
4 changed files with 84 additions and 8 deletions
|
|
@ -36,7 +36,7 @@ def create_ready_vm(template, name, token = nil)
|
|||
create_vm(name, token)
|
||||
redis.sadd("vmpooler__ready__#{template}", name)
|
||||
# REMIND: should be __vm__?
|
||||
redis.hset("vmpooler_vm_#{name}", "template", template)
|
||||
redis.hset("vmpooler__vm__#{name}", "template", template)
|
||||
end
|
||||
|
||||
def create_running_vm(template, name, token = nil)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue