mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Merge pull request #823 from dcolish/develop
Add extension_modules to root path, Issue #758
This commit is contained in:
commit
d826be13e8
@ -435,6 +435,9 @@ class LocalClient(object):
|
||||
gstart = int(time.time())
|
||||
ret = {}
|
||||
wtag = os.path.join(jid_dir, 'wtag*')
|
||||
# If jid == 0, there is no payload
|
||||
if int(jid) == 0:
|
||||
return ret
|
||||
# Check to see if the jid is real, if not return the empty dict
|
||||
if not os.path.isdir(jid_dir):
|
||||
return ret
|
||||
|
@ -175,7 +175,8 @@ def minion_config(path):
|
||||
opts['grains'] = salt.loader.grains(opts)
|
||||
|
||||
# Prepend root_dir to other paths
|
||||
prepend_root_dir(opts, ['pki_dir', 'cachedir', 'log_file', 'key_logfile'])
|
||||
prepend_root_dir(opts, ['pki_dir', 'cachedir', 'log_file',
|
||||
'key_logfile', 'extension_modules'])
|
||||
return opts
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user