Sha256: b0d5a74ca9426a5360802c1289c2287d21f7fbb2fe23836685dbebdb6c3c6ee9
Contents?: true
Size: 674 Bytes
Versions: 25
Compression:
Stored size: 674 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 = ::Katello::CapsuleContent.with_environment(repo.environment).map { |c| c.capsule } 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
25 entries across 25 versions & 1 rubygems