mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add the default options for the salt master
This commit is contained in:
parent
f9cd00256f
commit
fbea1cdd96
1 changed files with 9 additions and 1 deletions
|
@ -34,7 +34,15 @@ def master_config(path):
|
|||
'''
|
||||
Reads in the master configuration file and sets up default options
|
||||
'''
|
||||
opts = {}
|
||||
opts = {'interface': '0.0.0.0',
|
||||
'publish_port': 7777,
|
||||
'worker_threads': 5,
|
||||
'worker_port': 7778,
|
||||
'ret_port': 7776,
|
||||
'local_threads': 5,
|
||||
'local_port': 7775,
|
||||
'local_worker_port': 7774,
|
||||
'cachedir': '/var/cache/salt'}
|
||||
|
||||
if os.path.isfile(path):
|
||||
try:
|
||||
|
|
Loading…
Add table
Reference in a new issue