Sha256: 522c28523ea5c2b621a94660f96e9a21b129fabd45ecf88ffa5a515cbe3d6f96
Contents?: true
Size: 647 Bytes
Versions: 2
Compression:
Stored size: 647 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'), true), 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
foreman_rh_cloud-1.0.8 | app/models/setting/rh_cloud.rb |
foreman_rh_cloud-2.0.8 | app/models/setting/rh_cloud.rb |