Sha256: aff9e2f339a3d47c2f74db0aa7ff94532177ac13945c8b4d39307b275400fcb1

Contents?: true

Size: 639 Bytes

Versions: 141

Compression:

Stored size: 639 Bytes

Contents

module Actions
  module Katello
    module Repository
      class CapsuleSync < Actions::Base
        def humanized_name
          _("Sync Repository on Smart Proxy(ies)")
        end

        def plan(repo)
          if repo.node_syncable?
            concurrence do
              smart_proxies = ::SmartProxy.with_environment(repo.environment)
              unless smart_proxies.blank?
                plan_action(::Actions::BulkAction, ::Actions::Katello::CapsuleContent::Sync, smart_proxies,
                            :repository_id => repo.id)
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

141 entries across 141 versions & 1 rubygems

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