mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Update eventlisten script with sock_dir changes
This commit is contained in:
parent
36bf8122e9
commit
fe23e66ce5
1 changed files with 3 additions and 0 deletions
|
@ -9,6 +9,7 @@ This script is a generic tool to test event output
|
|||
import optparse
|
||||
import pprint
|
||||
import time
|
||||
import os
|
||||
|
||||
# Import Salt libs
|
||||
import salt.utils.event
|
||||
|
@ -48,6 +49,8 @@ def parse():
|
|||
|
||||
opts['id'] = options.node
|
||||
|
||||
opts['sock_dir'] = os.path.join(opts['sock_dir'], opts['id'])
|
||||
|
||||
return opts
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue