MCPcopy Index your code
hub / github.com/saltstack/salt / salt_run

Function salt_run

salt/scripts.py:523–533  ·  view source on GitHub ↗

Execute a salt convenience routine.

()

Source from the content-addressed store, hash-verified

521
522
523def salt_run():
524 """
525 Execute a salt convenience routine.
526 """
527 import salt.cli.run
528
529 if "" in sys.path:
530 sys.path.remove("")
531 client = salt.cli.run.SaltRun()
532 _install_signal_handlers(client)
533 client.run()
534
535
536def salt_ssh():

Callers

nothing calls this directly

Calls 3

runMethod · 0.95
_install_signal_handlersFunction · 0.85
removeMethod · 0.45

Tested by

no test coverage detected