Sha256: ed5193ebcc53137bed7ced16bd8cb258db85ea21cbba706521f064022e0f48cb
Contents?: true
Size: 614 Bytes
Versions: 9
Compression:
Stored size: 614 Bytes
Contents
module Actions module Katello module Repository class CapsuleGenerateAndSync < Actions::Base def humanized_name _("Generate Capsule Metadata and Sync") end def plan(repo) if repo.node_syncable? plan_action(NodeMetadataGenerate, repo) 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
9 entries across 9 versions & 1 rubygems