Local Client

Salt Client in-process implementation

class saltfactories.client.LocalClient(*, master_config, functions_known_to_return_none=NOTHING)[source]

Bases: object

Wrapper class around Salt’s local client

Return type

None

run(function, *args, minion_tgt='minion', timeout=300, **kwargs)[source]

Run a single salt function and condition the return down to match the behavior of the raw function call