Class: Actions::Katello::Host::AutoAttachSubscriptions
- Inherits:
-
EntryAction
- Object
- EntryAction
- Actions::Katello::Host::AutoAttachSubscriptions
- Defined in:
- app/lib/actions/katello/host/auto_attach_subscriptions.rb
Instance Method Summary collapse
Instance Method Details
#finalize ⇒ Object
12 13 14 |
# File 'app/lib/actions/katello/host/auto_attach_subscriptions.rb', line 12 def finalize ::Katello::Pool.import_all end |
#plan(host) ⇒ Object
7 8 9 10 |
# File 'app/lib/actions/katello/host/auto_attach_subscriptions.rb', line 7 def plan(host) action_subject(host) plan_action(::Actions::Candlepin::Consumer::AutoAttachSubscriptions, :uuid => host.subscription_facet.uuid) end |
#resource_locks ⇒ Object
16 17 18 |
# File 'app/lib/actions/katello/host/auto_attach_subscriptions.rb', line 16 def resource_locks :link end |