[#2180] Bump fog-openstack
This commit is contained in:
parent
6da33f2387
commit
d901cb286b
4 changed files with 27 additions and 6 deletions
|
@ -1,3 +1,20 @@
|
|||
module Fog
|
||||
module ServicesMixin
|
||||
private
|
||||
|
||||
def require_service_provider_library(service, provider)
|
||||
# Monkey patch to fix https://github.com/fog/fog/issues/4014
|
||||
|
||||
# This method exists in fog to load legacy providers that have not yet been extracted to
|
||||
# their own gem.
|
||||
# fog-openstack has been extracted to its own gem and does not need this method.
|
||||
# Furthermore, fog-openstack has recently been refactored in a way that breaks this method.
|
||||
#
|
||||
# Therefore, until either fog or fog-openstack fixes the problem, we have to neuter the method.
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
CarrierWave.configure do |config|
|
||||
# These permissions will make dir and files available only to the user running
|
||||
# the servers
|
||||
|
@ -13,7 +30,8 @@ CarrierWave.configure do |config|
|
|||
openstack_api_key: Rails.application.secrets.fog[:openstack_api_key],
|
||||
openstack_username: Rails.application.secrets.fog[:openstack_username],
|
||||
openstack_auth_url: Rails.application.secrets.fog[:openstack_auth_url],
|
||||
openstack_region: Rails.application.secrets.fog[:openstack_region]
|
||||
openstack_region: Rails.application.secrets.fog[:openstack_region],
|
||||
openstack_identity_api_version: Rails.application.secrets.fog[:oopenstack_identity_api_version]
|
||||
}
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue