Class: Actions::ForemanProbing::ProcessHost

Inherits:
EntryAction
  • Object
show all
Defined in:
app/lib/actions/process_host.rb

Instance Method Summary collapse

Instance Method Details

#plan(input) ⇒ Object



5
6
7
8
9
10
11
12
13
14
# File 'app/lib/actions/process_host.rb', line 5

def plan(input)
  sequence do
    parsed_scan = plan_action(::Actions::ForemanProbing::ImportHostFacts,
                              :scan_id => input[:scan_id],
                              :facts => input[:facts],
                              :proxy_id => input[:proxy_id],
                              :options => input[:options])
    plan_action(::Actions::ForemanProbing::UpdateProbingFacet, :parsed_scan => parsed_scan.output)
  end
end