Sha256: baa7d0354834840783080389eb0df49dfb376157e67a0121cdb59e267be2b1fe

Contents?: true

Size: 506 Bytes

Versions: 80

Compression:

Stored size: 506 Bytes

Contents

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

        def plan(host)
          action_subject(host)
          plan_action(::Actions::Candlepin::Consumer::AutoAttachSubscriptions, :uuid => host.subscription_facet.uuid)
        end

        def finalize
          ::Katello::Pool.import_all
        end

        def resource_locks
          :link
        end
      end
    end
  end
end

Version data entries

80 entries across 80 versions & 1 rubygems

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