mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-26 21:38:41 -05:00
Set vmpooler and list vm results
This commit is contained in:
parent
cafe3ee005
commit
b9c43f9695
2 changed files with 13 additions and 4 deletions
|
|
@ -5,10 +5,10 @@ require 'vmfloaty/hosts'
|
|||
class Vmfloaty
|
||||
|
||||
def initialize(env)
|
||||
@vmpooler_url = env['VMPOOLER_URL']
|
||||
$vmpooler_url = env['VMPOOLER_URL']
|
||||
|
||||
unless @vmpooler_url
|
||||
@vmpooler_url = 'http://vcloud.delivery.puppetlabs.net/vm'
|
||||
$vmpooler_url = 'http://vcloud.delivery.puppetlabs.net'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue