Krikri::BatchScript::Step
One step to run remotely as part of a batch.
Constructors
Instance methods
become_user
The become_user this step must run as, or nil for none. This is the daemon KEY: a daemon is one resident process running as one fixed user, so only steps agreeing on this value can share one daemon batch request - see TaskExecutor#run_batch_steps.
config_json
This step's full config, exactly what would be piped via stdin in the non-batched path (PluginManager#execute_remote_plugin).
ignore_errors?
Sourceplugin_target
Already resolved via PluginManager.remote_plugin_target - the
bare plugin path, or sudo -n -u <user> -- <path> if become:.
Used only by the bash-script transport below; the daemon
transport (perf item 3) dispatches
by module NAME inside an already-running process instead, and
gets its privilege from which daemon it is sent to.