diff --git a/lib/fog/bin/openstack.rb b/lib/fog/bin/openstack.rb index def1c696c..a43aab3dc 100644 --- a/lib/fog/bin/openstack.rb +++ b/lib/fog/bin/openstack.rb @@ -9,6 +9,8 @@ class OpenStack < Fog::Bin Fog::Identity::OpenStack when :network Fog::Network::OpenStack + when :storage + Fog::Storage::OpenStack else raise ArgumentError, "Unrecognized service: #{key}" end @@ -26,6 +28,9 @@ class OpenStack < Fog::Bin when :network Fog::Logger.warning("OpenStack[:network] is not recommended, use Network[:openstack] for portability") Fog::Network.new(:provider => 'OpenStack') + when :storage + Fog::Logger.warning("OpenStack[:storage] is not recommended, use Storage[:openstack] for portability") + Fog::Network.new(:provider => 'OpenStack') else raise ArgumentError, "Unrecognized service: #{key.inspect}" end