acceptance/lib/pxp-agent/bolt_pxp_module_helper.rb
# Runs a non-blocking command action on targets, and confirms that it was successful.
# Block is executed on the stdout string.
Runs a non-blocking command action on targets, and confirms that it was successful.
Block is executed on the stdout string.
Runs a non - blocking command action on targets and confirms that it was successful . Block is executed on the stdout string .
def run_successful_command(broker, targets, command, **kwargs, &block)
  run_command(broker, targets, command) do |response_dataset|
    ensure_successful(broker, targets, response_dataset, **kwargs, &block)
  end
end
def run_successful_command ( broker , targets , command , ** kwargs , & block ) run_command ( broker , targets , command ) do | response_dataset | ensure_successful ( broker , targets , response_dataset , ** kwargs , & block ) end end
Runs a non-blocking command action on targets, and confirms that it was successful.
Runs a non - blocking command action on targets and confirms that it was successful .
broker
<not_specific>
targets
<not_specific>
command
<not_specific>
kwargs
<not_specific>
block
<not_specific>