Update base resource for fog-openstack 1.0

The breaking changes from fog-openstack 0.3.1 were reintroduced in a
1.0.0 release.

Change-Id: I1362851729a4c4839e12ba81cfaf86db5ad2b989
This commit is contained in:
Samuel Cassiba 2018-09-21 08:08:54 -07:00
parent 8efb690b14
commit 1379c2a8c9
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ module OpenstackclientCookbook
class OpenstackBase < Chef::Resource::LWRPBase
require 'fog/openstack'
def connection
@connection_cache ||= Fog::Identity::OpenStack.new(connection_params)
@connection_cache ||= Fog::OpenStack::Identity.new(connection_params)
end
end
end

View File

@ -12,4 +12,4 @@ version '18.0.0'
supports os
end
gem 'fog-openstack', '< 1.0.0'
gem 'fog-openstack', '>= 1.0.0'