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.12.3 app/lib/actions/katello/host/auto_attach_subscriptions.rb
katello-3.12.2 app/lib/actions/katello/host/auto_attach_subscriptions.rb
katello-3.13.0.rc1 app/lib/actions/katello/host/auto_attach_subscriptions.rb
katello-3.12.1 app/lib/actions/katello/host/auto_attach_subscriptions.rb
katello-3.11.2 app/lib/actions/katello/host/auto_attach_subscriptions.rb
katello-3.10.2 app/lib/actions/katello/host/auto_attach_subscriptions.rb
katello-3.12.0 app/lib/actions/katello/host/auto_attach_subscriptions.rb
katello-3.12.0.rc2 app/lib/actions/katello/host/auto_attach_subscriptions.rb
katello-3.10.1.1 app/lib/actions/katello/host/auto_attach_subscriptions.rb
katello-3.12.0.rc1 app/lib/actions/katello/host/auto_attach_subscriptions.rb
katello-3.10.1 app/lib/actions/katello/host/auto_attach_subscriptions.rb
katello-3.11.1 app/lib/actions/katello/host/auto_attach_subscriptions.rb
katello-3.11.0 app/lib/actions/katello/host/auto_attach_subscriptions.rb
katello-3.11.0.rc2 app/lib/actions/katello/host/auto_attach_subscriptions.rb
katello-3.11.0.rc1 app/lib/actions/katello/host/auto_attach_subscriptions.rb
katello-3.10.0 app/lib/actions/katello/host/auto_attach_subscriptions.rb
katello-3.10.0.rc1.1 app/lib/actions/katello/host/auto_attach_subscriptions.rb
katello-3.9.1 app/lib/actions/katello/host/auto_attach_subscriptions.rb
katello-3.10.0.rc1 app/lib/actions/katello/host/auto_attach_subscriptions.rb
katello-3.9.0 app/lib/actions/katello/host/auto_attach_subscriptions.rb