Sha256: 9a1b519d7e704dabd4d5864b50b972187709b8803c65d859acb28b9e71bd0dde
Contents?: true
Size: 592 Bytes
Versions: 74
Compression:
Stored size: 592 Bytes
Contents
namespace :katello do namespace :upgrades do namespace '4.2' do desc "Removed orphaned pools and correct org+subscription mismatch" task :remove_checksum_values => ["environment"] do api = Katello::Pulp3::Api::Yum.new(SmartProxy.pulp_primary) repos = Katello::Pulp3::Api::Core.fetch_from_list do |page_opts| api.repositories_api.list(page_opts) end repos.each do |repo| api.repositories_api.partial_update(repo.pulp_href, {metadata_checksum_type: nil, package_checksum_type: nil}) end end end end end
Version data entries
74 entries across 74 versions & 1 rubygems