salt/etest.py
2015-01-28 18:43:40 -08:00

7 lines
145 B
Python

import salt.utils.event
event = salt.utils.event.MasterEvent('/var/run/salt/master')
for data in event.iter_events(full=True):
print(data)