Browse Source

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
Samuel Cassiba 7 months ago
parent
commit
1379c2a8c9
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      libraries/openstack_base.rb
  2. 1
    1
      metadata.rb

+ 1
- 1
libraries/openstack_base.rb View File

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

+ 1
- 1
metadata.rb View File

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

Loading…
Cancel
Save