Sha256: 2d05b15f2faeb04ccffea42c39cdd56b1d0ffb38bf119cf318486dfb9f7d8ced

Contents?: true

Size: 457 Bytes

Versions: 7

Compression:

Stored size: 457 Bytes

Contents

module Actions
  module Katello
    module System
      class AutoAttachSubscriptions < Actions::EntryAction
        middleware.use ::Actions::Middleware::RemoteAction

        def plan(system)
          action_subject system
          plan_action(::Actions::Candlepin::Consumer::AutoAttachSubscriptions, system) if ::SETTINGS[:katello][:use_cp]
        end

        def finalize
          ::Katello::Pool.import_all
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
katello-2.4.5 app/lib/actions/katello/system/auto_attach_subscriptions.rb
katello-2.4.4 app/lib/actions/katello/system/auto_attach_subscriptions.rb
katello-2.4.3 app/lib/actions/katello/system/auto_attach_subscriptions.rb
katello-2.4.2 app/lib/actions/katello/system/auto_attach_subscriptions.rb
katello-2.4.1 app/lib/actions/katello/system/auto_attach_subscriptions.rb
katello-2.4.0 app/lib/actions/katello/system/auto_attach_subscriptions.rb
katello-2.4.0.rc3 app/lib/actions/katello/system/auto_attach_subscriptions.rb