mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-27 02:18:41 -05:00
Reworked into a single namespaced Ruby application
This commit is contained in:
parent
61646a048c
commit
1b0a21c556
21 changed files with 930 additions and 926 deletions
12
lib/vmpooler.rb
Normal file
12
lib/vmpooler.rb
Normal 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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue