Sha256: 23d1106e2a7421d24bcce5e1456332f8634be828afa084faaf8c5f07b9f8c4ec

Contents?: true

Size: 633 Bytes

Versions: 20

Compression:

Stored size: 633 Bytes

Contents

module Actions
  module Katello
    module ContentView
      class CapsuleGenerateAndSync < Actions::Base
        def humanized_name
          _("Sync Capsule with Content View")
        end

        def plan(content_view, environment)
          sequence do
            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

20 entries across 20 versions & 1 rubygems

Version Path
katello-3.2.1.1 app/lib/actions/katello/content_view/capsule_generate_and_sync.rb
katello-3.2.1 app/lib/actions/katello/content_view/capsule_generate_and_sync.rb
katello-3.2.0 app/lib/actions/katello/content_view/capsule_generate_and_sync.rb
katello-3.2.0.rc3 app/lib/actions/katello/content_view/capsule_generate_and_sync.rb
katello-3.2.0.rc2 app/lib/actions/katello/content_view/capsule_generate_and_sync.rb
katello-3.2.0.rc1.1 app/lib/actions/katello/content_view/capsule_generate_and_sync.rb
katello-3.2.0.rc1 app/lib/actions/katello/content_view/capsule_generate_and_sync.rb
katello-3.1.0.1 app/lib/actions/katello/content_view/capsule_generate_and_sync.rb
katello-3.1.0 app/lib/actions/katello/content_view/capsule_generate_and_sync.rb
katello-3.1.0.rc2.1 app/lib/actions/katello/content_view/capsule_generate_and_sync.rb
katello-3.0.2 app/lib/actions/katello/content_view/capsule_generate_and_sync.rb
katello-3.1.0.rc1 app/lib/actions/katello/content_view/capsule_generate_and_sync.rb
katello-3.0.1 app/lib/actions/katello/content_view/capsule_generate_and_sync.rb
katello-3.0.0 app/lib/actions/katello/content_view/capsule_generate_and_sync.rb
katello-3.0.0.rc7 app/lib/actions/katello/content_view/capsule_generate_and_sync.rb
katello-3.0.0.rc5 app/lib/actions/katello/content_view/capsule_generate_and_sync.rb
katello-3.0.0.rc4 app/lib/actions/katello/content_view/capsule_generate_and_sync.rb
katello-3.0.0.rc3 app/lib/actions/katello/content_view/capsule_generate_and_sync.rb
katello-3.0.0.rc2 app/lib/actions/katello/content_view/capsule_generate_and_sync.rb
katello-3.0.0.rc1 app/lib/actions/katello/content_view/capsule_generate_and_sync.rb