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

Version Path
katello-2.4.5 app/lib/actions/katello/content_view/capsule_generate_and_sync.rb
katello-2.4.4 app/lib/actions/katello/content_view/capsule_generate_and_sync.rb
katello-2.4.3 app/lib/actions/katello/content_view/capsule_generate_and_sync.rb
katello-2.4.2 app/lib/actions/katello/content_view/capsule_generate_and_sync.rb
katello-2.4.1 app/lib/actions/katello/content_view/capsule_generate_and_sync.rb
katello-2.4.0 app/lib/actions/katello/content_view/capsule_generate_and_sync.rb
katello-2.4.0.rc3 app/lib/actions/katello/content_view/capsule_generate_and_sync.rb
katello-2.4.0.rc2 app/lib/actions/katello/content_view/capsule_generate_and_sync.rb
katello-2.4.0.rc1 app/lib/actions/katello/content_view/capsule_generate_and_sync.rb