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