Class: Actions::Katello::ContentView::CapsuleGenerateAndSync
- Inherits:
-
Base
- Object
- Base
- Actions::Katello::ContentView::CapsuleGenerateAndSync
- Defined in:
- app/lib/actions/katello/content_view/capsule_generate_and_sync.rb
Instance Method Summary collapse
Instance Method Details
#humanized_name ⇒ Object
5 6 7 |
# File 'app/lib/actions/katello/content_view/capsule_generate_and_sync.rb', line 5 def humanized_name _("Sync Capsule with Content View") end |
#plan(content_view, environment) ⇒ Object
9 10 11 12 13 14 15 16 17 18 |
# File 'app/lib/actions/katello/content_view/capsule_generate_and_sync.rb', line 9 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 |