Sha256: 07bf6a93c09a082c6e88b285fff07d058d55f9cd365dbdc0f23b4b9f6f841afe
Contents?: true
Size: 760 Bytes
Versions: 38
Compression:
Stored size: 760 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(:single_content_view) || host.try(:single_content_view) if content_view && host.operatingsystem.is_a?(Redhat) && host.operatingsystem.kickstart_repos(host).first.present? && host&.content_facet&.kickstart_repository.present? @mediapath ||= host.operatingsystem.mediumpath(medium_provider) end end end included do prepend Overrides end end end end
Version data entries
38 entries across 38 versions & 1 rubygems