Sha256: 654c47ca928823f98496ce6885a0be3017f2886d85e2f4e2e7e712be6e302fdb
Contents?: true
Size: 856 Bytes
Versions: 15
Compression:
Stored size: 856 Bytes
Contents
# Responsible for silently overwriting setting's default value. module SettingRegistryBranding def branded_settings domain = SETTINGS[:domain] @branded_settings ||= { 'email_reply_address' => "satellite-noreply@#{domain}", 'email_subject_prefix' => '[satellite]', 'rss_url' => 'https://www.redhat.com/en/rss/blog/channel/red-hat-satellite', 'foreman_tasks_troubleshooting_url' => 'https://access.redhat.com/solutions/satellite6-tasks#%{label}', 'bootdisk_allowed_types' => ['subnet','full_host'], 'template_sync_commit_msg' => 'Templates export made by a Satellite user' }.freeze end def _add(name, default:, **rest) branded_default = branded_settings.fetch(name.to_s, default) super(name, default: branded_default, **rest) unless UpstreamOnlySettings::SETTINGS.include?(name.to_s) end end
Version data entries
15 entries across 15 versions & 1 rubygems