mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
d8e8de2a19
Conflicts: salt/utils/event.py
8 lines
207 B
Python
8 lines
207 B
Python
import salt.config
|
|
import salt.runner
|
|
|
|
opts = salt.config.master_config('/etc/salt/master')
|
|
runner = salt.runner.RunnerClient(opts)
|
|
print runner.cmd('test.stream', [])
|
|
print runner.cmd('jobs.list_jobs', [])
|