acceptance/lib/pxp-agent/bolt_pxp_module_helper.rb
def run_failed_command(broker, targets, command, **kwargs, &block)
  run_command(broker, targets, command) do |response_dataset|
    ensure_failed(broker, targets, response_dataset, **kwargs, &block)
  end
end
# Runs a non-blocking command action on targets, and confirms that it unsuccessful, but did not error.
# Block is executed on the stderr string.
Runs a non-blocking command action on targets, and confirms that it unsuccessful, but did not error.
Block is executed on the stderr string.
Runs a non - blocking command action on targets and confirms that it unsuccessful but did not error . Block is executed on the stderr string .
def run_failed_command(broker, targets, command, **kwargs, &block)
  run_command(broker, targets, command) do |response_dataset|
    ensure_failed(broker, targets, response_dataset, **kwargs, &block)
  end
end
def run_failed_command ( broker , targets , command , ** kwargs , & block ) run_command ( broker , targets , command ) do | response_dataset | ensure_failed ( broker , targets , response_dataset , ** kwargs , & block ) end end
Runs a non-blocking command action on targets, and confirms that it unsuccessful, but did not error.
Runs a non - blocking command action on targets and confirms that it unsuccessful but did not error .
broker
targets
command
kwargs
block