mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
14 lines
238 B
Ruby
Executable file
14 lines
238 B
Ruby
Executable file
#!/usr/bin/env ruby
|
|
|
|
$:.unshift(File.dirname(__FILE__))
|
|
|
|
require 'rubygems' unless defined?(Gem)
|
|
require 'lib/vmpooler'
|
|
|
|
Thread.new { Vmpooler::API.new.execute! }
|
|
Thread.new { Vmpooler::PoolManager.new.execute! }
|
|
|
|
loop do
|
|
sleep(1)
|
|
end
|
|
|