Sha256: b54be48aba9d7e0683a30d7cd18eabe4adae23ba5785e95a7ab885e81ecaa2d1
Contents?: true
Size: 688 Bytes
Versions: 10
Compression:
Stored size: 688 Bytes
Contents
module Katello module Concerns module RendererExtensions extend ActiveSupport::Concern module Overrides def kickstart_attributes super medium_provider = Katello::ManagedContentMediumProvider.new(host.content_facet) 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
10 entries across 10 versions & 1 rubygems