mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
fix sock_dir change for eventlisten script
This commit is contained in:
parent
ef7cfcb4b2
commit
c1fc9d6726
1 changed files with 1 additions and 3 deletions
|
@ -8,9 +8,7 @@ This script is a generic tool to test event output
|
|||
# Import Python libs
|
||||
import optparse
|
||||
import pprint
|
||||
import os
|
||||
import time
|
||||
import tempfile
|
||||
|
||||
# Import Salt libs
|
||||
import salt.utils.event
|
||||
|
@ -25,7 +23,7 @@ def parse():
|
|||
parser.add_option('-s',
|
||||
'--sock-dir',
|
||||
dest='sock_dir',
|
||||
default=os.path.join(tempfile.gettempdir(), '.salt-unix'),
|
||||
default='/var/run/salt',
|
||||
help=('Staticly define the directory holding the salt unix '
|
||||
'sockets for communication'))
|
||||
parser.add_option('-n',
|
||||
|
|
Loading…
Add table
Reference in a new issue