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