Class: Actions::ForemanPatch::Round::Plan

Inherits:
EntryAction
  • Object
show all
Defined in:
app/lib/actions/foreman_patch/round/plan.rb

Instance Method Summary collapse

Instance Method Details

#plan(group, window) ⇒ Object



10
11
12
13
14
15
# File 'app/lib/actions/foreman_patch/round/plan.rb', line 10

def plan(group, window)
  action_subject(group, window: window)

  action = plan_action(::Actions::ForemanPatch::Round::Create, group, window)
  plan_action(::Actions::ForemanPatch::Round::ResolveHosts, action.output[:round])
end

#resource_locksObject



6
7
8
# File 'app/lib/actions/foreman_patch/round/plan.rb', line 6

def resource_locks
  :link
end