Sha256: 2a56e0348468d4d19d82a8196ed8b45857ebd92f8c9bd2473c98173a87fa1419

Contents?: true

Size: 552 Bytes

Versions: 44

Compression:

Stored size: 552 Bytes

Contents

module Actions
  module Katello
    module Repository
      class UpdateMetadataSync < Actions::Base
        def plan(repository)
          sequence do
            plan_action(Katello::Repository::MetadataGenerate, repository)
            concurrence do
              ::SmartProxy.with_repo(repository).each do |capsule|
                next if capsule.pulp_master?
                plan_action(Katello::CapsuleContent::Sync, capsule, repository_id: repository.id)
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
katello-3.16.2 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-3.16.1.2 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-3.16.1.1 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-3.16.1 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-3.17.0.rc1 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-3.16.0 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-3.16.0.rc5.1 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-3.16.0.rc5 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-3.16.0.rc4.1 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-3.15.3.1 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-3.15.3 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-3.16.0.rc4 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-3.16.0.rc3.1 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-3.15.2 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-3.16.0.rc3 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-3.16.0.rc2.1 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-3.16.0.rc2 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-3.15.1.1 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-3.16.0.rc1.1 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-3.15.1 app/lib/actions/katello/repository/update_metadata_sync.rb