Sha256: 61a6e213a2bf988af6b9af300b3f5d7b0273649933007851efb782ee829003be
Contents?: true
Size: 621 Bytes
Versions: 39
Compression:
Stored size: 621 Bytes
Contents
module Katello module Concerns module RendererExtensions extend ActiveSupport::Concern included do alias_method_chain :kickstart_attributes, :katello end def kickstart_attributes_with_katello kickstart_attributes_without_katello 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(@host) end end end end end
Version data entries
39 entries across 39 versions & 1 rubygems