Method: ForemanMaintain::Concerns::PrimaryChecks#package_name

Defined in:
lib/foreman_maintain/concerns/primary_checks.rb

#package_nameObject



14
15
16
17
18
19
20
21
22
# File 'lib/foreman_maintain/concerns/primary_checks.rb', line 14

def package_name
  installed_scenario = detector.feature(:installer).last_scenario
  case installed_scenario
  when 'satellite'
    'satellite'
  when 'capsule'
    'satellite-capsule'
  end
end