Reworked into a single namespaced Ruby application

This commit is contained in:
Scott Schneider 2014-03-05 12:57:25 -08:00
parent e0ac8c735f
commit 60cc1ef178
20 changed files with 930 additions and 924 deletions

12
lib/vmpooler.rb Normal file
View file

@ -0,0 +1,12 @@
require 'rubygems' unless defined?(Gem)
module Vmpooler
%w( api graphite logger pool_manager vsphere_helper ).each do |lib|
begin
require "vmpooler/#{lib}"
rescue LoadError
require File.expand_path(File.join(File.dirname(__FILE__), 'vmpooler', lib))
end
end
end