Class: Actions::ForemanPatch::Round::ResolveHosts
- Inherits:
-
EntryAction
- Object
- EntryAction
- Actions::ForemanPatch::Round::ResolveHosts
- Defined in:
- app/lib/actions/foreman_patch/round/resolve_hosts.rb
Instance Method Summary collapse
Instance Method Details
#plan(round) ⇒ Object
6 7 8 9 |
# File 'app/lib/actions/foreman_patch/round/resolve_hosts.rb', line 6 def plan(round) input.update serialize_args(round: round) plan_self end |
#run ⇒ Object
11 12 13 14 15 16 |
# File 'app/lib/actions/foreman_patch/round/resolve_hosts.rb', line 11 def run output[:invocations] = { added: add_missing_hosts, removed: remove_non_group_hosts, } end |