mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 18:08:42 -05:00
(POOLER-70) Add config for VM Provider
This commit adds a public function to access the internal variable holding the VMPooler configuration. This is required for later commits for the execute! function testing.
This commit is contained in:
parent
710b3808a5
commit
1a3ae86943
2 changed files with 14 additions and 0 deletions
|
|
@ -19,6 +19,10 @@ module Vmpooler
|
|||
$threads = {}
|
||||
end
|
||||
|
||||
def config
|
||||
$config
|
||||
end
|
||||
|
||||
# Check the state of a VM
|
||||
def check_pending_vm(vm, pool, timeout, provider)
|
||||
Thread.new do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue