Revision b8d29217
Added by Martin Milata over 9 years ago
app/models/setting/abrt.rb | ||
---|---|---|
class Setting::Abrt < ::Setting
|
||
BLANK_ATTRS << "abrt_server_ssl_certificate"
|
||
BLANK_ATTRS << "abrt_server_ssl_priv_key"
|
||
BLANK_ATTRS << "abrt_server_ssl_ca_file"
|
||
URI_ATTRS << "abrt_server_url"
|
||
|
||
def self.load_defaults
|
||
return unless super
|
||
... | ... | |
self.set('abrt_server_ssl_priv_key', N_('SSL private key path that Foreman would use to communicate with ABRT server'), ''),
|
||
self.set('abrt_server_ssl_ca_file', N_('SSL CA file that Foreman will use to communicate with ABRT server'), ''),
|
||
self.set('abrt_automatically_forward', N_('Automatically send every report to an ABRT server for analysis?'), false),
|
||
self.set('abrt_server_requires_basic_auth', N_('Does the server require authentication through username and password?'), false),
|
||
].compact.each { |s| self.create s.update(:category => 'Setting::Abrt') }
|
||
end
|
||
|
Also available in: Unified diff
Implement HTTP basic auth for forwarding reports