Sha256: 56fd8d742933a0848883ea786e1d3ca2dc6708cc3a08809c1abcffc3d17e5a2d

Contents?: true

Size: 1.77 KB

Versions: 58

Compression:

Stored size: 1.77 KB

Contents

Katello::RepositoryTypeManager.register(::Katello::Repository::YUM_TYPE) do
  service_class Katello::Pulp::Repository::Yum
  pulp3_service_class Katello::Pulp3::Repository::Yum
  pulp3_api_class Katello::Pulp3::Api::Yum
  pulp3_plugin 'pulp_rpm'
  prevent_unneeded_metadata_publish

  default_managed_content_type Katello::Rpm
  content_type Katello::Rpm,
    :priority => 1,
    :pulp2_service_class => ::Katello::Pulp::Rpm,
    :pulp3_service_class => ::Katello::Pulp3::Rpm,
    :removable => true,
    :uploadable => true
  content_type Katello::ModuleStream,
    :priority => 2,
    :pulp2_service_class => ::Katello::Pulp::ModuleStream,
    :pulp3_service_class => ::Katello::Pulp3::ModuleStream
  content_type Katello::Erratum, :priority => 3,
    :pulp2_service_class => ::Katello::Pulp::Erratum,
    :pulp3_service_class => ::Katello::Pulp3::Erratum
  content_type Katello::PackageGroup,
    :pulp2_service_class => ::Katello::Pulp::PackageGroup,
    :pulp3_service_class => ::Katello::Pulp3::PackageGroup
  content_type Katello::YumMetadataFile,
    :pulp2_service_class => ::Katello::Pulp::YumMetadataFile,
    :pulp3_service_class => ::Katello::Pulp3::YumMetadataFile,
    :index_on_pulp3 => false
  content_type Katello::Srpm,
    :pulp2_service_class => ::Katello::Pulp::Srpm,
    :pulp3_service_class => ::Katello::Pulp3::Srpm,
    :removable => true, :uploadable => true
  content_type Katello::Distribution, :priority => 4,
    :pulp2_service_class => ::Katello::Pulp::Distribution,
    :pulp3_service_class => ::Katello::Pulp3::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

58 entries across 58 versions & 1 rubygems

Version Path
katello-4.0.3 lib/katello/repository_types/yum.rb
katello-3.18.5 lib/katello/repository_types/yum.rb
katello-4.0.2.1 lib/katello/repository_types/yum.rb
katello-4.0.2 lib/katello/repository_types/yum.rb
katello-3.18.4 lib/katello/repository_types/yum.rb
katello-4.0.1.2 lib/katello/repository_types/yum.rb
katello-3.18.3.1 lib/katello/repository_types/yum.rb
katello-4.0.1.1 lib/katello/repository_types/yum.rb
katello-3.18.3 lib/katello/repository_types/yum.rb
katello-4.0.1 lib/katello/repository_types/yum.rb
katello-4.0.0 lib/katello/repository_types/yum.rb
katello-4.0.0.rc3.1 lib/katello/repository_types/yum.rb
katello-4.0.0.rc3 lib/katello/repository_types/yum.rb
katello-3.18.2.1 lib/katello/repository_types/yum.rb
katello-3.18.2 lib/katello/repository_types/yum.rb
katello-3.17.3 lib/katello/repository_types/yum.rb
katello-4.0.0.rc2 lib/katello/repository_types/yum.rb
katello-3.18.1.1 lib/katello/repository_types/yum.rb
katello-3.17.2 lib/katello/repository_types/yum.rb
katello-4.0.0.rc1 lib/katello/repository_types/yum.rb