Module: ForemanChef

Defined in:
lib/foreman_chef.rb,
lib/foreman_chef/engine.rb,
lib/foreman_chef/version.rb,
app/models/foreman_chef/fact_name.rb,
app/models/foreman_chef/environment.rb,
app/models/foreman_chef/fact_parser.rb,
app/models/foreman_chef/fact_importer.rb,
app/models/foreman_chef/cached_run_list.rb,
app/helpers/foreman_chef/chef_proxy_form.rb,
app/models/foreman_chef/concerns/renderer.rb,
app/services/foreman_chef/proxy_exception.rb,
app/models/foreman_chef/chef_report_scanner.rb,
app/models/foreman_chef/concerns/host_build.rb,
app/helpers/foreman_chef/chef_reports_helper.rb,
app/services/foreman_chef/chef_server_importer.rb,
app/models/foreman_chef/concerns/host_extensions.rb,
app/services/foreman_chef/object_exists_exception.rb,
app/controllers/foreman_chef/application_controller.rb,
app/controllers/foreman_chef/environments_controller.rb,
app/models/foreman_chef/concerns/hostgroup_extensions.rb,
app/models/foreman_chef/concerns/smart_proxy_extensions.rb,
app/services/foreman_chef/host_does_not_have_chef_proxy.rb,
app/services/foreman_chef/object_does_not_exist_exception.rb,
app/controllers/foreman_chef/concerns/environment_parameters.rb,
app/controllers/foreman_chef/concerns/hosts_controller_rescuer.rb,
app/models/foreman_chef/concerns/host_and_hostgroup_extensions.rb,
app/controllers/foreman_chef/concerns/hosts_controller_extensions.rb

Defined Under Namespace

Modules: ChefProxyForm, ChefReportsHelper, Concerns Classes: ApplicationController, CachedRunList, ChefReportScanner, ChefServerImporter, Engine, Environment, EnvironmentsController, FactImporter, FactName, FactParser, HostDoesNotHaveChefProxy, ObjectDoesNotExistException, ObjectExistsException, ProxyException

Constant Summary collapse

VERSION =
"0.10.0"

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.table_name_prefixObject



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

def self.table_name_prefix
  "foreman_chef_"
end

.with_remote_execution?Boolean

check whether foreman_remote_execution to integrate is available in the system

Returns:

  • (Boolean)


121
122
123
# File 'lib/foreman_chef/engine.rb', line 121

def self.with_remote_execution?
  (RemoteExecutionFeature rescue false) ? true : false
end

Instance Method Details

#use_relative_model_namingObject



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

def use_relative_model_naming
  true
end