mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-27 02:18:41 -05:00
WIP (POOLER-70) Refactor out VSphere to separate class
WIP
This commit is contained in:
parent
626195685f
commit
05f781ab69
6 changed files with 1443 additions and 653 deletions
|
|
@ -12,7 +12,7 @@ module Vmpooler
|
|||
require 'yaml'
|
||||
require 'set'
|
||||
|
||||
%w( api graphite logger pool_manager vsphere_helper statsd dummy_statsd ).each do |lib|
|
||||
%w( api graphite logger pool_manager vsphere_helper statsd dummy_statsd backingservice ).each do |lib|
|
||||
begin
|
||||
require "vmpooler/#{lib}"
|
||||
rescue LoadError
|
||||
|
|
@ -21,7 +21,7 @@ module Vmpooler
|
|||
end
|
||||
|
||||
def self.config(filepath='vmpooler.yaml')
|
||||
parsed_config = {}
|
||||
parsed_config = {}
|
||||
|
||||
if ENV['VMPOOLER_CONFIG']
|
||||
# Load configuration from ENV
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue