Sha256: c312c7f22edce8b61de19dbac5480f3fac339ba6b7c6349041b15588d5e1a3d4
Contents?: true
Size: 711 Bytes
Versions: 9
Compression:
Stored size: 711 Bytes
Contents
module Actions module Katello module ContentView class CapsuleGenerateAndSync < Actions::Base def humanized_name _("Generate Capsule Metadata and Sync") end def plan(content_view, environment) sequence do plan_action(NodeMetadataGenerate, content_view, environment) concurrence do ::Katello::CapsuleContent.with_environment(environment).each do |capsule_content| plan_action(Katello::CapsuleContent::Sync, capsule_content, :content_view => content_view, :environment => environment) end end end end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems