Sha256: ea3a6a91b62c9022b4345362f52c96b8fe9c82a46fe4a7ccca2cfa5b0d8a5b14
Contents?: true
Size: 556 Bytes
Versions: 20
Compression:
Stored size: 556 Bytes
Contents
module Actions module Katello module Repository class CapsuleGenerateAndSync < Actions::Base def humanized_name _("Sync Repository on Capsule(s)") 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
20 entries across 20 versions & 1 rubygems