module ForemanWreckingball

Constants

VERSION

Public Class Methods

fog_patches_required?() click to toggle source
# File lib/foreman_wreckingball/engine.rb, line 100
def self.fog_patches_required?
  return unless Foreman::Model::Vmware.available?
  require 'fog/vsphere'
  require 'fog/vsphere/compute'
  require 'fog/vsphere/models/compute/host'
  !::Fog::Compute::Vsphere::Host.instance_methods.include?(:feature_capabilities)
rescue LoadError
  false
end