mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Use master_config function
This commit is contained in:
parent
b9e62d3ff3
commit
7ab650ff41
@ -14,11 +14,9 @@ def api_config(path):
|
||||
Read in the salt master config file and add additional configs that
|
||||
need to be stubbed out for cloudapi
|
||||
'''
|
||||
opts = {
|
||||
'extension_modules': [],
|
||||
}
|
||||
opts = {}
|
||||
|
||||
salt.config.load_config(opts, path, 'SALT_MASTER_CONFIG')
|
||||
opts = salt.config.master_config(path)
|
||||
|
||||
if 'include' in opts:
|
||||
opts = salt.config.include_config(opts, path)
|
||||
|
Loading…
Reference in New Issue
Block a user