Merge pull request #1 from cloudbau/fix_openstack_base_lib
minor fix for openstack_base lib since new_resource was used in wrong
This commit is contained in:
commit
a65b0a3951
|
@ -18,8 +18,7 @@ module OpenstackclientCookbook
|
|||
class OpenstackBase < Chef::Resource
|
||||
require 'fog/openstack'
|
||||
def connection
|
||||
@connection_cache ||= Fog::Identity::OpenStack
|
||||
.new(new_resource.connection_params)
|
||||
@connection_cache ||= Fog::Identity::OpenStack.new(connection_params)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -21,6 +21,6 @@ license 'Apache v2.0'
|
|||
description 'Installs the fog-openstack gem and offers LWRPs to use it'
|
||||
issues_url 'https://github.com/cloudbau/cookbook-openstackclient/issues'
|
||||
source_url 'https://github.com/cloudbau/cookbook-openstackclient'
|
||||
version '0.1.0'
|
||||
version '0.1.1'
|
||||
|
||||
gem 'fog-openstack'
|
||||
|
|
Loading…
Reference in New Issue