-
-
Save whardier/a9817d6089c3aab6844d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Import the proper library | |
import time | |
import salt.utils.event | |
# Fire deploy action | |
sock_dir = '/var/run/salt/minion' | |
payload = {'sample-msg': 'this is a test', | |
'example': 'this is the same test'} | |
event = salt.utils.event.SaltEvent('minion', sock_dir, id='dkf-dsscan1') | |
event.fire_event(payload, 'tag') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[pid 2738] connect(9, {sa_family=AF_FILE, path="/var/run/salt/minion/minion_event_6c95257d5ac497fc9f9b64997d6ccfe9_pull.ipc"}, 110) = 0 | |
[pid 2738] epoll_ctl(7, EPOLL_CTL_ADD, 9, {0, {u32=36991968, u64=36991968}}) = 0 | |
[pid 2738] getsockopt(9, SOL_SOCKET, SO_ERROR, [0], [4]) = 0 | |
[pid 2738] epoll_ctl(7, EPOLL_CTL_DEL, 9, {0, {u32=36991968, u64=36991968}}) = 0 | |
[pid 2738] fcntl(9, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK) | |
[pid 2738] fcntl(9, F_SETFL, O_RDWR|O_NONBLOCK) = 0 | |
[pid 2738] epoll_ctl(7, EPOLL_CTL_ADD, 9, {0, {u32=29292208, u64=29292208}}) = 0 | |
[pid 2738] epoll_ctl(7, EPOLL_CTL_MOD, 9, {EPOLLIN, {u32=29292208, u64=29292208}}) = 0 | |
[pid 2738] epoll_ctl(7, EPOLL_CTL_MOD, 9, {EPOLLIN|EPOLLOUT, {u32=29292208, u64=29292208}}) = 0 | |
[pid 2738] recvfrom(9, "\377\0\0\0\0\0\0\0\1\177", 12, 0, NULL, NULL) = 10 | |
[pid 2738] recvfrom(9, 0x1bef4ab, 2, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable) | |
[pid 2738] read(6, "\1\0\0\0\0\0\0\0", 8) = 8 | |
[pid 2738] poll([{fd=6, events=POLLIN}], 1, 0) = 0 (Timeout) | |
[pid 2738] epoll_wait(7, {{EPOLLOUT, {u32=29292208, u64=29292208}}}, 256, 4294967295) = 1 | |
[pid 2738] sendto(9, "\377\0\0\0\0\0\0\0\1\177\1\10", 12, 0, NULL, 0) = 12 | |
[pid 2738] epoll_ctl(7, EPOLL_CTL_MOD, 9, {EPOLLIN, {u32=29292208, u64=29292208}}) = 0 | |
[pid 2738] epoll_wait(7, {{EPOLLIN, {u32=29292208, u64=29292208}}}, 256, 4294967295) = 1 | |
[pid 2738] recvfrom(9, "\1\7", 2, 0, NULL, NULL) = 2 | |
[pid 2738] epoll_ctl(7, EPOLL_CTL_MOD, 9, {EPOLLIN|EPOLLOUT, {u32=29292208, u64=29292208}}) = 0 | |
[pid 2738] recvfrom(9, "\0\0", 8192, 0, NULL, NULL) = 2 | |
[pid 2738] epoll_wait(7, {{EPOLLOUT, {u32=29292208, u64=29292208}}}, 256, 4294967295) = 1 | |
[pid 2738] sendto(9, "\0\0\0otag|||||||||||||||||\203\246_stamp"..., 115, 0, NULL, 0) = 115 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment