Module: ForemanVirtWhoConfigure

Defined in:
lib/foreman_virt_who_configure.rb,
lib/foreman_virt_who_configure/engine.rb,
lib/foreman_virt_who_configure/version.rb,
app/models/foreman_virt_who_configure/config.rb,
app/services/foreman_virt_who_configure/cleaner.rb,
app/models/foreman_virt_who_configure/service_user.rb,
app/helpers/foreman_virt_who_configure/configs_helper.rb,
app/models/foreman_virt_who_configure/output_generator.rb,
app/helpers/foreman_virt_who_configure/compatibility_helper.rb,
app/controllers/foreman_virt_who_configure/configs_controller.rb,
app/controllers/foreman_virt_who_configure/application_controller.rb,
app/controllers/foreman_virt_who_configure/api/v2/configs_controller.rb,
app/controllers/foreman_virt_who_configure/concerns/config_parameters.rb,
app/models/foreman_virt_who_configure/auth_source_hidden_with_authentication.rb

Defined Under Namespace

Modules: Api, CompatibilityHelper, Concerns, ConfigsHelper Classes: ApplicationController, AuthSourceHiddenWithAuthentication, Cleaner, Config, ConfigsController, Engine, OutputGenerator, ServiceUser

Constant Summary collapse

VERSION =
'0.5.25'.freeze

Class Method Summary collapse

Class Method Details

.table_name_prefixObject



116
117
118
# File 'lib/foreman_virt_who_configure/engine.rb', line 116

def self.table_name_prefix
  "foreman_virt_who_configure_"
end

.use_relative_model_naming?Boolean

Returns:

  • (Boolean)


120
121
122
# File 'lib/foreman_virt_who_configure/engine.rb', line 120

def self.use_relative_model_naming?
  true
end

.with_katello?Boolean

Returns:

  • (Boolean)


112
113
114
# File 'lib/foreman_virt_who_configure/engine.rb', line 112

def self.with_katello?
  (Katello rescue false) ? true : false
end