mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
13 lines
246 B
Ruby
Executable file
13 lines
246 B
Ruby
Executable file
#!/usr/bin/env ruby
|
|
|
|
$LOAD_PATH.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(10)
|
|
end
|