Set vmpooler and list vm results

This commit is contained in:
Brian Cain 2014-10-29 11:43:53 -07:00
parent cafe3ee005
commit b9c43f9695
2 changed files with 13 additions and 4 deletions

View file

@ -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