mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
ensure that each service requires its provider
This commit is contained in:
parent
26c6766b09
commit
c27901dc8c
9 changed files with 18 additions and 7 deletions
|
@ -1,3 +1,5 @@
|
|||
require 'fog/aws'
|
||||
|
||||
module Fog
|
||||
module AWS
|
||||
class Elasticache < Fog::Service
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
require 'fog/clodo'
|
||||
|
||||
module Fog
|
||||
module Compute
|
||||
class Clodo < Fog::Service
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
require 'fog/glesys'
|
||||
|
||||
module Fog
|
||||
module Compute
|
||||
class Glesys < Fog::Service
|
||||
|
@ -80,7 +82,7 @@ module Fog
|
|||
@connection = Fog::Connection.new(@api_url, @persistent, @connection_options)
|
||||
end
|
||||
|
||||
def request(method_name, options = {})
|
||||
def request(method_name, options = {})
|
||||
|
||||
options.merge!( {:format => 'json'})
|
||||
|
||||
|
@ -112,9 +114,9 @@ module Fog
|
|||
Fog::Compute::Glesys::NotFound.slurp(error)
|
||||
else
|
||||
error
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
require 'fog/openstack'
|
||||
require 'fog/aws/cloud_formation'
|
||||
|
||||
module Fog
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
require 'fog/ovirt'
|
||||
|
||||
module Fog
|
||||
module Compute
|
||||
class Ovirt < Fog::Service
|
||||
|
|
|
@ -31,4 +31,4 @@ module Fog
|
|||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -2,8 +2,7 @@
|
|||
# https://github.com/racker/rackspace-monitoring-rb
|
||||
# It has been heavily modified for import into Fog master.
|
||||
|
||||
require 'fog'
|
||||
require 'fog/core'
|
||||
require 'fog/rackspace'
|
||||
|
||||
module Fog
|
||||
module Rackspace
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
require 'fog/serverlove'
|
||||
|
||||
module Fog
|
||||
module Compute
|
||||
class Serverlove < Fog::Service
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
require 'fog/vsphere'
|
||||
require 'digest/sha2'
|
||||
|
||||
module Fog
|
||||
|
|
Loading…
Reference in a new issue