operations.local
Provides operations that are related to the local system on which the fora scripts are executed.
Functions
def local.script()
local.script()
Executes the given script for the current host. Useful to split functionality into smaller sub-scripts.
Scripts can take parameters. Parameters to scripts are passed by supplying a params
dictionary. The script declares its parameters by annotating them. (The annotation then transparently extracts the value from a separately passed global variable).
Parameters
script: The local path to the script to execute.
recursive: Whether recursive calls should be allowed.
params: The parameters for the script.
name: The name for the script execution (used for logging).
Last updated