Project

General

Profile

« Previous | Next » 

Revision a180c321

Added by Tom Caspy about 9 years ago

fixes #8516 - removing the require 'fog' from the project, requiring only what we use

View differences:

app/services/foreman/provision/ssh.rb
begin
require 'fog'
rescue LoadError
Rails.logger.info "Fog is not installed - unable to manage compute resources"
rescue => exception
Rails.logger.warn "Fog initialization failed - #{exception}"
Rails.logger.debug exception.backtrace.join("\n")
end
require 'timeout'
class Foreman::Provision::SSH

Also available in: Unified diff