mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 18:08:42 -05:00
Merge pull request #287 from mattkirby/require_updates
(maint) Fix vmpooler require in bin/vmpooler
This commit is contained in:
commit
b4fb94aec8
1 changed files with 1 additions and 5 deletions
|
|
@ -1,16 +1,12 @@
|
|||
#!/usr/bin/env ruby
|
||||
|
||||
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
||||
|
||||
require 'rubygems' unless defined?(Gem)
|
||||
require 'lib/vmpooler'
|
||||
require 'vmpooler'
|
||||
|
||||
config = Vmpooler.config
|
||||
redis_host = config[:redis]['server']
|
||||
redis_port = config[:redis]['port']
|
||||
redis_password = config[:redis]['password']
|
||||
logger_file = config[:config]['logfile']
|
||||
api_logger_file = config[:config]['api_logfile']
|
||||
|
||||
metrics = Vmpooler.new_metrics(config)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue