mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[dns|linode] move linode dns to its own shared area (namespacing should probably be corrected)
This commit is contained in:
parent
2922a62768
commit
b54121f035
14 changed files with 6 additions and 6 deletions
|
@ -4,7 +4,7 @@ module Fog
|
||||||
module Linode
|
module Linode
|
||||||
extend Fog::Provider
|
extend Fog::Provider
|
||||||
service(:compute, 'compute/linode')
|
service(:compute, 'compute/linode')
|
||||||
service(:dns, 'dns/linode')
|
service(:dns, 'linode/dns')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -5,13 +5,13 @@ module Fog
|
||||||
requires :linode_api_key
|
requires :linode_api_key
|
||||||
recognizes :port, :scheme, :persistent
|
recognizes :port, :scheme, :persistent
|
||||||
|
|
||||||
model_path 'fog/dns/models/linode'
|
model_path 'fog/linode/models/dns'
|
||||||
model :record
|
model :record
|
||||||
collection :records
|
collection :records
|
||||||
model :zone
|
model :zone
|
||||||
collection :zones
|
collection :zones
|
||||||
|
|
||||||
request_path 'fog/dns/requests/linode'
|
request_path 'fog/linode/requests/dns'
|
||||||
request :domain_create
|
request :domain_create
|
||||||
request :domain_delete
|
request :domain_delete
|
||||||
request :domain_list
|
request :domain_list
|
|
@ -1,5 +1,5 @@
|
||||||
require 'fog/core/collection'
|
require 'fog/core/collection'
|
||||||
require 'fog/dns/models/linode/record'
|
require 'fog/linode/models/dns/record'
|
||||||
|
|
||||||
module Fog
|
module Fog
|
||||||
module DNS
|
module DNS
|
|
@ -1,5 +1,5 @@
|
||||||
require 'fog/core/model'
|
require 'fog/core/model'
|
||||||
require 'fog/dns/models/linode/records'
|
require 'fog/linode/models/dns/records'
|
||||||
|
|
||||||
module Fog
|
module Fog
|
||||||
module DNS
|
module DNS
|
|
@ -1,5 +1,5 @@
|
||||||
require 'fog/core/collection'
|
require 'fog/core/collection'
|
||||||
require 'fog/dns/models/linode/zone'
|
require 'fog/linode/models/dns/zone'
|
||||||
|
|
||||||
module Fog
|
module Fog
|
||||||
module DNS
|
module DNS
|
Loading…
Reference in a new issue