1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[compute|linode] move linode compute to its own shared area (namespacing should probably be corrected)

This commit is contained in:
geemus 2011-08-24 20:24:45 -05:00
parent 8e226728cd
commit fca3bdb4cd
41 changed files with 12 additions and 12 deletions

View file

@ -24,7 +24,7 @@ module Fog
require 'fog/compute/go_grid'
Fog::Compute::GoGrid.new(attributes)
when :linode
require 'fog/compute/linode'
require 'fog/linode/compute'
Fog::Compute::Linode.new(attributes)
when :newservers
require 'fog/new_servers/compute'

View file

@ -3,7 +3,7 @@ require 'fog/core'
module Fog
module Linode
extend Fog::Provider
service(:compute, 'compute/linode')
service(:compute, 'linode/compute')
service(:dns, 'linode/dns')
end
end

View file

@ -5,7 +5,7 @@ module Fog
requires :linode_api_key
recognizes :port, :scheme, :persistent
model_path 'fog/compute/models/linode'
model_path 'fog/linode/models/compute'
model :flavor
collection :flavors
model :image
@ -23,7 +23,7 @@ module Fog
model :disk
collection :disks
request_path 'fog/compute/requests/linode'
request_path 'fog/linode/requests/compute'
request :avail_datacenters
request :avail_distributions
request :avail_kernels

View file

@ -1,5 +1,5 @@
require 'fog/core/collection'
require 'fog/compute/models/linode/data_center'
require 'fog/linode/models/compute/data_center'
module Fog
module Compute

View file

@ -1,5 +1,5 @@
require 'fog/core/collection'
require 'fog/compute/models/linode/disk'
require 'fog/linode/models/compute/disk'
module Fog
module Compute

View file

@ -1,5 +1,5 @@
require 'fog/core/collection'
require 'fog/compute/models/linode/flavor'
require 'fog/linode/models/compute/flavor'
module Fog
module Compute

View file

@ -1,5 +1,5 @@
require 'fog/core/collection'
require 'fog/compute/models/linode/image'
require 'fog/linode/models/compute/image'
module Fog
module Compute

View file

@ -1,5 +1,5 @@
require 'fog/core/collection'
require 'fog/compute/models/linode/ip'
require 'fog/linode/models/compute/ip'
module Fog
module Compute

View file

@ -1,5 +1,5 @@
require 'fog/core/collection'
require 'fog/compute/models/linode/kernel'
require 'fog/linode/models/compute/kernel'
module Fog
module Compute

View file

@ -1,5 +1,5 @@
require 'fog/core/collection'
require 'fog/compute/models/linode/server'
require 'fog/linode/models/compute/server'
module Fog
module Compute

View file

@ -1,5 +1,5 @@
require 'fog/core/collection'
require 'fog/compute/models/linode/stack_script'
require 'fog/linode/models/compute/stack_script'
module Fog
module Compute