Sha256: 7b3df58b0f9ba24f030b1ba46dc6580bc2c65a2e29adb5e4fb7b2e8393d9a1cc

Contents?: true

Size: 1.18 KB

Versions: 8

Compression:

Stored size: 1.18 KB

Contents

Katello::RepositoryTypeManager.register(::Katello::Repository::YUM_TYPE) do
  service_class Katello::Pulp::Repository::Yum
  prevent_unneeded_metadata_publish

  default_managed_content_type Katello::Rpm
  content_type Katello::Rpm, :priority => 1, :pulp2_service_class => ::Katello::Pulp::Rpm, :removable => true, :uploadable => true
  content_type Katello::ModuleStream, :priority => 2, :pulp2_service_class => ::Katello::Pulp::ModuleStream
  content_type Katello::Erratum, :priority => 3, :pulp2_service_class => ::Katello::Pulp::Erratum
  content_type Katello::PackageGroup, :pulp2_service_class => ::Katello::Pulp::PackageGroup
  content_type Katello::YumMetadataFile, :pulp2_service_class => ::Katello::Pulp::YumMetadataFile
  content_type Katello::Srpm, :pulp2_service_class => ::Katello::Pulp::Srpm, :removable => true, :uploadable => true
  content_type Katello::Distribution, :priority => 4, :pulp2_service_class => ::Katello::Pulp::Distribution, :index => false
  content_type Katello::PackageCategory, :priority => 4, :pulp2_service_class => ::Katello::Pulp::PackageCategory, :index => false

  index_additional_data { |repo, target_repo = nil| repo.import_distribution_data(target_repo) }
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
katello-3.13.4 lib/katello/repository_types/yum.rb
katello-3.13.3 lib/katello/repository_types/yum.rb
katello-3.13.2 lib/katello/repository_types/yum.rb
katello-3.13.1 lib/katello/repository_types/yum.rb
katello-3.13.0 lib/katello/repository_types/yum.rb
katello-3.13.0.rc2.1 lib/katello/repository_types/yum.rb
katello-3.13.0.rc2 lib/katello/repository_types/yum.rb
katello-3.13.0.rc1 lib/katello/repository_types/yum.rb