diff --git a/lib/fog/compute.rb b/lib/fog/compute.rb index 33fc4a1bc..5d7e19d45 100644 --- a/lib/fog/compute.rb +++ b/lib/fog/compute.rb @@ -61,6 +61,7 @@ module Fog require 'fog/rackspace/compute' Fog::Compute::Rackspace.new(attributes) when :slicehost + warn "[DEPRECATION] `slicehost` is deprecated. Please use `rackspace` instead." require 'fog/slicehost/compute' Fog::Compute::Slicehost.new(attributes) when :stormondemand diff --git a/lib/fog/dns.rb b/lib/fog/dns.rb index 951aeb34e..2ac71f869 100644 --- a/lib/fog/dns.rb +++ b/lib/fog/dns.rb @@ -27,6 +27,7 @@ module Fog require 'fog/linode/dns' Fog::DNS::Linode.new(attributes) when :slicehost + warn "[DEPRECATION] `slicehost` is deprecated. Please use `racksace` instead." require 'fog/slicehost/dns' Fog::DNS::Slicehost.new(attributes) when :zerigo