For the record, the kernel team does not appear to be changing the term and we agreed in the PR that it is too confusing to perform such change if kernel stays with the old term. Let’s wait and see.
In the meantime, I did a small research across our codebase. Aside of the PXE templates (the PR) and few occurrences in some scripts which are not user-facing we have:
app/views/unattended/provisioning_templates/snippet/kickstart_ifcfg_bonded_interface.erb
17:SLAVE=yes
app/models/nic/bond.rb
10: def add_slave(identifier)
14: def remove_slave(identifier)
foreman-stable/app/models/compute_resources/foreman/model/ovirt.rb
556: name_blacklist = interfaces.map { |i| i[:name]}.reject {|n| n.blank?}
557: nic_name_num += 1 while name_blacklist.include?("nic#{nic_name_num}")
foreman_ansible/lib/foreman_ansible_core/runner/command_creator.rb
25: defaults['ANSIBLE_CALLBACK_WHITELIST'] = '' if rex_command?
foreman_maintain/lib/foreman_maintain/reporter/cli_reporter.rb
286: steps_with_abort = scenario.steps_with_abort(:whitelisted => false)
295: steps_with_error = scenario.steps_with_error(:whitelisted => false)
302: whitelist_labels = steps_with_error.map(&:label_dashed).join(',')
303: recommend << format(<<-MESSAGE.strip_heredoc, whitelist_labels)
306: use --whitelist="%s"
310: steps_with_warning = scenario.steps_with_warning(:whitelisted => false)
foreman_maintain/lib/foreman_maintain/package_manager/yum.rb
4: PROTECTOR_WHITELIST_FILE = '/etc/yum/pluginconf.d/foreman-protector.whitelist'.freeze
27: File.exist?(PROTECTOR_WHITELIST_FILE)
33: install_extras('foreman_protector/foreman-protector.whitelist', PROTECTOR_WHITELIST_FILE)
foreman_maintain/lib/foreman_maintain/cli/base.rb
61: :whitelist => option_wrapper('whitelist') || [],
163: option(['-w', '--whitelist'], 'whitelist',
164: 'Comma-separated list of labels of steps to be skipped') do |whitelist|
165: raise ArgumentError, 'value not specified' if whitelist.nil? || whitelist.empty?
166: whitelist.split(',').map(&:strip)
foreman_maintain/lib/foreman_maintain/executable.rb
8: :assumeyes?, :whitelisted?, :ask_decision,
foreman_maintain/lib/foreman_maintain/runner.rb
10: options.validate_options!(:assumeyes, :whitelist, :force, :rescue_scenario)
12: @whitelist = options.fetch(:whitelist, [])
60: def whitelisted_step?(step)
61: @whitelist.include?(step.label_dashed.to_s)
67: decision = if @last_scenario.steps_with_error(:whitelisted => false).any? ||
68: @last_scenario.steps_with_abort(:whitelisted => false).any?
70: elsif @last_scenario.steps_with_warning(:whitelisted => false).any?
119: :whitelisted => whitelisted_step?(step),
135: execution.fail? && !execution.whitelisted? &&
foreman_maintain/lib/foreman_maintain/cli/upgrade_command.rb
42: :whitelist => whitelist || [],
foreman_maintain/lib/foreman_maintain/runner/execution.rb
24: options.validate_options!(:whitelisted, :storage, :force)
29: @whitelisted = options[:whitelisted]
38: def whitelisted?
39: @whitelisted
79: @status = whitelisted? ? :skipped : :running
foreman_maintain/lib/foreman_maintain/scenario.rb
108: filter_whitelisted(executed_steps.find_all(&:fail?), options)
112: filter_whitelisted(executed_steps.find_all(&:aborted?), options)
116: filter_whitelisted(executed_steps.find_all(&:warning?), options)
119: def filter_whitelisted(steps, options)
120: options.validate_options!(:whitelisted)
121: if options.key?(:whitelisted)
123: options[:whitelisted] ? step.whitelisted? : !step.whitelisted?
131: (steps_with_abort(:whitelisted => false) +
132: steps_with_error(:whitelisted => false) +
133: steps_with_warning(:whitelisted => false)).empty?
foreman_maintain/extras/foreman_protector/foreman-protector.conf
3:whitelist = /etc/yum/pluginconf.d/foreman-protector.whitelist
foreman_maintain/extras/foreman_protector/foreman-protector.py
17:_package_whitelist = set()
20:def _load_whitelist():
27: _package_whitelist.add(line.rstrip().lower())
33: if _package_whitelist:
34: # If anything obsoletes something that we have whitelisted ... then
35: # whitelist that too.
37: if instTup[0] not in _package_whitelist:
39: _package_whitelist.add(pkgtup[0].lower())
45: if p.name in _package_whitelist:
46: # This one is whitelisted, skip
55: fileurl = conduit.confString('main', 'whitelist')
57:def _add_package_whitelist_excluders(conduit):
63: ape(None, exid + str(2), 'wash.name.in', _package_whitelist)
69: _load_whitelist()
86: _add_package_whitelist_excluders(conduit)
foreman_maintain/test/data/package_manager/yum/foreman-protector.conf.erb
3:whitelist = /tmp/protector.whitelist
foreman_remote_execution/app/models/job_template.rb
45: validate :provider_type_whitelist
203: def provider_type_whitelist
I think the slave for bond NIC is similar case as blacklist - this is a term used in Linux kernel and we need to at least render it, preferably not to confuse users. Blacklist and whitelist can be found at few rather minor places in core, maintain and remote execution.