8000 Change the default sock_dir to /var/run/salt, because that is correct · linuxadmin/salt@075c754 · GitHub
[go: up one dir, main page]

Skip to content

Commit 075c754

Browse files
committed
Change the default sock_dir to /var/run/salt, because that is correct
1 parent 0fadfd0 commit 075c754

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

salt/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def minion_config(path):
159159
'cachedir': '/var/cache/salt',
160160
'cache_jobs': False,
161161
'conf_file': path,
162-
'sock_dir': os.path.join(tempfile.gettempdir(), '.salt-unix'),
162+
'sock_dir': '/var/run/salt',
163163
'renderer': 'yaml_jinja',
164164
'failhard': False,
165165
'autoload_dynamic_modules': True,
@@ -255,7 +255,7 @@ def master_config(path):
255255
'publish_port': '4505',
256256
'user': 'root',
257257
'worker_threads': 5,
258-
'sock_dir': os.path.join(tempfile.gettempdir(), '.salt-unix'),
258+
'sock_dir': '/var/run/salt',
259259
'ret_port': '4506',
260260
'timeout': 5,
261261
'keep_jobs': 24,

0 commit comments

Comments
 (0)
0