Sha256: d2dfa58d92fd55d928e9c08fc8662e0a10b20f09b12a496ff42cdb52a78c7fa8

Contents?: true

Size: 593 Bytes

Versions: 14

Compression:

Stored size: 593 Bytes

Contents

module Katello
  module Concerns
    module RendererExtensions
      extend ActiveSupport::Concern

      module Overrides
        def kickstart_attributes
          super

          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

      included do
        prepend Overrides
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
katello-3.8.1 app/lib/katello/concerns/renderer_extensions.rb
katello-3.7.1.1 app/lib/katello/concerns/renderer_extensions.rb
katello-3.7.1 app/lib/katello/concerns/renderer_extensions.rb
katello-3.8.0 app/lib/katello/concerns/renderer_extensions.rb
katello-3.8.0.rc3 app/lib/katello/concerns/renderer_extensions.rb
katello-3.8.0.rc2 app/lib/katello/concerns/renderer_extensions.rb
katello-3.7.0 app/lib/katello/concerns/renderer_extensions.rb
katello-3.8.0.rc1 app/lib/katello/concerns/renderer_extensions.rb
katello-3.7.0.rc2 app/lib/katello/concerns/renderer_extensions.rb
katello-3.7.0.rc1 app/lib/katello/concerns/renderer_extensions.rb
katello-3.6.0 app/lib/katello/concerns/renderer_extensions.rb
katello-3.6.0.1.rc2 app/lib/katello/concerns/renderer_extensions.rb
katello-3.6.0.rc2 app/lib/katello/concerns/renderer_extensions.rb
katello-3.6.0.rc1 app/lib/katello/concerns/renderer_extensions.rb