Module: ForemanDlm

Defined in:
lib/foreman_dlm.rb,
lib/foreman_dlm/engine.rb,
lib/foreman_dlm/version.rb,
app/models/foreman_dlm/dlmlock.rb,
app/models/foreman_dlm/dlm_facet.rb,
app/models/foreman_dlm/dlmlock_event.rb,
app/models/foreman_dlm/dlmlock/update.rb,
app/helpers/foreman_dlm/dlmlock_helper.rb,
app/models/concerns/foreman_dlm/expirable.rb,
app/jobs/foreman_dlm/refresh_dlmlock_status.rb,
app/controllers/foreman_dlm/dlmlocks_controller.rb,
app/models/concerns/foreman_dlm/host_extensions.rb,
app/models/concerns/foreman_dlm/user_extensions.rb,
app/controllers/foreman_dlm/application_controller.rb,
app/controllers/concerns/foreman_dlm/find_host_by_ip.rb,
app/controllers/concerns/foreman_dlm/update_checkin_time.rb,
app/models/concerns/foreman_dlm/dlm_facet_host_extensions.rb,
app/models/concerns/foreman_dlm/host_monitoring_extensions.rb,
app/controllers/concerns/foreman_dlm/find_host_by_client_cert.rb

Defined Under Namespace

Modules: DlmFacetHostExtensions, DlmlockHelper, Expirable, FindHostByClientCert, FindHostByIp, HostExtensions, HostMonitoringExtensions, UpdateCheckinTime, UserExtensions Classes: ApplicationController, DlmFacet, Dlmlock, DlmlockEvent, DlmlocksController, Engine, RefreshDlmlockStatus

Constant Summary collapse

VERSION =
'3.0.0'

Class Method Summary collapse

Class Method Details

.with_monitoring?Boolean

Returns:

  • (Boolean)


111
112
113
114
115
116
# File 'lib/foreman_dlm/engine.rb', line 111

def self.with_monitoring?
  ForemanMonitoring # rubocop:disable Lint/Void
  true
rescue StandardError
  false
end