module ForemanMaintain::Concerns::ForemanAndKatelloVersionMap

Constants

FOREMAN_AND_KATELLO_VERSION_MAP

Public Instance Methods

foreman_version_by_katello(version) click to toggle source
# File lib/foreman_maintain/concerns/foreman_and_katello_version_map.rb, line 8
def foreman_version_by_katello(version)
  FOREMAN_AND_KATELLO_VERSION_MAP.key(version)
end
katello_version_by_foreman(version) click to toggle source
# File lib/foreman_maintain/concerns/foreman_and_katello_version_map.rb, line 12
def katello_version_by_foreman(version)
  FOREMAN_AND_KATELLO_VERSION_MAP.fetch(version)
end