Sha256: 97a3280fc6a472189050d8c801775caf57f66eb7748b73335be937e6ef2ebb4f
Contents?: true
Size: 674 Bytes
Versions: 125
Compression:
Stored size: 674 Bytes
Contents
module Katello module Concerns module RendererExtensions extend ActiveSupport::Concern module Overrides def kickstart_attributes super medium_provider = Katello::ManagedContentMediumProvider.new(host) content_view = host.try(:content_facet).try(:content_view) || host.try(:content_view) if content_view && host.operatingsystem.is_a?(Redhat) && host.operatingsystem.kickstart_repos(host).first.present? @mediapath ||= host.operatingsystem.mediumpath(medium_provider) end end end included do prepend Overrides end end end end
Version data entries
125 entries across 125 versions & 1 rubygems