feature #696: Fix Sunstone requires

This commit is contained in:
Daniel Molina committed 2011-07-07 13:54:00 +02:00
1 parent 79b04d2f6e
commit fbf9c94e49
4 files changed
+3 -4

No files matched your search

-2
View File
@@ -32,7 +32,6 @@ $: << RUBY_LIB_LOCATION+"/acct"
require 'yaml'
require 'OpenNebula'
require 'sequel'
require 'watch_helper'
CONF = YAML.load_file(ACCTD_CONF)
@@ -115,7 +114,6 @@ if CONF[:ACCOUNTING_STEPS] > 0
watcher.add(accounting, CONF[:ACCOUNTING_STEPS], vm_pool)
end
step = 0
loop do
start_time = Time.now
+1 -1
View File
@@ -1,5 +1,5 @@
module OneWatchClient
require 'watch_helper'
require 'acct/watch_helper'
class WatchClient
def vm_monitoring(id, opts=[])
+1
View File
@@ -1,4 +1,5 @@
module WatchHelper
require 'sequel'
require 'yaml'
ONE_LOCATION=ENV["ONE_LOCATION"]
+1 -1
View File
@@ -17,7 +17,7 @@
require 'OpenNebulaJSON'
include OpenNebulaJSON
require 'acct/WatchClient'
require 'acct/watch_client'
class SunstoneServer
def initialize(username, password)