Sha256: 7c177ae893a5910ff90498d18717146f51c662a97eadeea74e08c6c0cefb8b47
Contents?: true
Size: 758 Bytes
Versions: 6
Compression:
Stored size: 758 Bytes
Contents
class Setting::RhCloud < Setting def self.default_settings return unless ActiveRecord::Base.connection.table_exists?('settings') return unless super [ set('allow_auto_inventory_upload', N_('Allow automatic upload of the host inventory to the Red Hat cloud'), false), set('allow_auto_insights_sync', N_('Allow recommendations synchronization from Red Hat cloud'), false), set('obfuscate_inventory_hostnames', N_('Obfuscate host names sent to Red Hat cloud'), false), set('rh_cloud_token', N_('Authentication token to Red Hat cloud services. Used to authenticate requests to cloud APIs'), 'DEFAULT', N_('Red Hat Cloud token'), nil, encrypted: true), ] end def self.humanized_category N_('RH Cloud') end end
Version data entries
6 entries across 6 versions & 1 rubygems