Sha256: 89f102b49ea997ffc37c27af469342f892be045152a97136c4ccc3a058336c53
Contents?: true
Size: 562 Bytes
Versions: 15
Compression:
Stored size: 562 Bytes
Contents
module Actions module Katello module Repository class CapsuleGenerateAndSync < Actions::Base def humanized_name _("Sync Repository on Smart proxy(ies)") end def plan(repo) if repo.node_syncable? concurrence do ::Katello::CapsuleContent.with_environment(repo.environment).each do |capsule_content| plan_action(Katello::CapsuleContent::Sync, capsule_content, repository: repo) end end end end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems