Class: ForemanOpenscap::ClientConfig::Manual

Inherits:
Base
  • Object
show all
Defined in:
app/services/foreman_openscap/client_config/manual.rb

Instance Method Summary collapse

Methods inherited from Base

#all_collection_method, #collection_method, #ds_policies_param_default_value, #find_config_item

Instance Method Details

#available?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'app/services/foreman_openscap/client_config/manual.rb', line 8

def available?
  true
end

#constantsObject



18
19
20
# File 'app/services/foreman_openscap/client_config/manual.rb', line 18

def constants
  OpenStruct.new
end

#inline_helpObject



12
13
14
15
16
# File 'app/services/foreman_openscap/client_config/manual.rb', line 12

def inline_help
  {
    :text => _("This leaves the setup of the foreman_scap_client solely on the user. The policy still needs to be defined in order to link incoming ARF reports.")
  }
end

#managed_overrides?Boolean

Returns:

  • (Boolean)


22
23
24
# File 'app/services/foreman_openscap/client_config/manual.rb', line 22

def managed_overrides?
  false
end

#typeObject



4
5
6
# File 'app/services/foreman_openscap/client_config/manual.rb', line 4

def type
  :manual
end