Revert "Update base resource for fog-openstack 1.0"

This partially reverts commit 1379c2a8c9 and pins the gem to the latest stable release.

Depends-On: https://review.openstack.org/607683
Change-Id: I70c37040ff3a50f61d738e7a6a3111bcefc15a79
This commit is contained in:
Samuel Cassiba 2018-10-02 16:47:40 +00:00
parent 1379c2a8c9
commit 26bcde5a44
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::OpenStack::Identity.new(connection_params)
@connection_cache ||= Fog::Identity::OpenStack.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', '= 0.3.4'