acceptance/lib/pxp-agent/bolt_pxp_module_helper.rb
# Runs a non-blocking script action on targets, and confirms that it succeeded.
# Block is executed on the stdout string.
Runs a non-blocking script action on targets, and confirms that it succeeded.
Block is executed on the stdout string.
Runs a non - blocking script action on targets and confirms that it succeeded . Block is executed on the stdout string .
def run_successful_script(broker, agent, script, arguments, **kwargs, &block)
  script_request(broker, agent, script, arguments, **kwargs) do |datas|
    ensure_successful(broker, [agent], datas, **kwargs, &block)
  end
end
def run_successful_script ( broker , agent , script , arguments , ** kwargs , & block ) script_request ( broker , agent , script , arguments , ** kwargs ) do | datas | ensure_successful ( broker , [ agent ] , datas , ** kwargs , & block ) end end
Runs a non-blocking script action on targets, and confirms that it succeeded.
Runs a non - blocking script action on targets and confirms that it succeeded .
broker
<not_specific>
agent
<not_specific>
script
<not_specific>
arguments
<not_specific>
kwargs
<not_specific>
block
<not_specific>