Sha256: 0b6e1c3820542cabc468b76d2ca19cf8ed0d82d5e9b32e1b75c09e6f48405ed7

Contents?: true

Size: 538 Bytes

Versions: 4

Compression:

Stored size: 538 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

        if @host.content_facet.try(:content_view) && @host.operatingsystem.is_a?(Redhat) &&
          !@host.operatingsystem.kickstart_repo(@host).blank?

          @mediapath ||= @host.operatingsystem.mediumpath(@host)
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
katello-3.0.0.rc4 app/lib/katello/concerns/renderer_extensions.rb
katello-3.0.0.rc3 app/lib/katello/concerns/renderer_extensions.rb
katello-3.0.0.rc2 app/lib/katello/concerns/renderer_extensions.rb
katello-3.0.0.rc1 app/lib/katello/concerns/renderer_extensions.rb