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.12.2 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-3.13.0.rc1 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-3.12.1 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-3.12.0 app/lib/actions/katello/repository/update_metadata_sync.rb