Sha256: e056f12e765e8b089bc900ca557d2b1e8fc70dbcb1fd692c8af6108268656478
Contents?: true
Size: 758 Bytes
Versions: 2
Compression:
Stored size: 758 Bytes
Contents
module Actions module ForemanPatch module Window class ResolveHosts < Actions::EntryAction def plan(window) input.update serialize_args(window: window) sequence do concurrence do window.rounds.each do |round| plan_action(Actions::ForemanPatch::Round::ResolveHosts, round) end end plan_action(Actions::ForemanPatch::Window::Publish, window) end end def window @window ||= ::ForemanPatch::Window.find(input[:window][:id]) end def humanized_name _('Resolve Hosts for:') end def humanized_input window.name end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
foreman_patch-1.1.6.alpha5 | app/lib/actions/foreman_patch/window/resolve_hosts.rb |
foreman_patch-1.1.6.alpha4 | app/lib/actions/foreman_patch/window/resolve_hosts.rb |