Class: Actions::ForemanProbing::ProcessScan
- Inherits:
-
ActionWithSubPlans
- Object
- ActionWithSubPlans
- Actions::ForemanProbing::ProcessScan
- Defined in:
- app/lib/actions/process_scan.rb
Instance Method Summary collapse
Instance Method Details
#create_sub_plans ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'app/lib/actions/process_scan.rb', line 9 def create_sub_plans input[:scan][:proxy_output][:facts].map do |report| trigger(::Actions::ForemanProbing::ProcessHost, :scan_id => input[:scan_id], :facts => report, :proxy_id => input[:proxy_id], :options => input[:options] || {}) end end |
#plan(*args) ⇒ Object
5 6 7 |
# File 'app/lib/actions/process_scan.rb', line 5 def plan(*args) plan_self(*args) end |