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:
parent
8efb690b14
commit
1379c2a8c9
|
@ -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
|
||||
|
|
|
@ -12,4 +12,4 @@ version '18.0.0'
|
|||
supports os
|
||||
end
|
||||
|
||||
gem 'fog-openstack', '< 1.0.0'
|
||||
gem 'fog-openstack', '>= 1.0.0'
|
||||
|
|
Loading…
Reference in New Issue