Sha256: 3803a73567ad7d1968f8edd624c18f21b5a4ba2bf716e5093aa9adab98c3a2f1

Contents?: true

Size: 553 Bytes

Versions: 95

Compression:

Stored size: 553 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_primary?
                plan_action(Katello::CapsuleContent::Sync, capsule, repository_id: repository.id)
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

95 entries across 95 versions & 1 rubygems

Version Path
katello-4.9.2 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-4.8.4 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-4.9.1 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-4.8.3 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-4.9.0 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-4.7.6 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-4.8.2 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-4.9.0.rc2 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-4.9.0.rc1 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-4.8.1 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-4.7.5 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-4.8.0 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-4.8.0.rc2 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-4.7.4 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-4.8.0.rc1 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-4.7.3 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-4.7.2 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-4.7.1 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-4.6.2.1 app/lib/actions/katello/repository/update_metadata_sync.rb
katello-4.6.2 app/lib/actions/katello/repository/update_metadata_sync.rb