Merge pull request #823 from dcolish/develop

Add extension_modules to root path, Issue #758
This commit is contained in:
Thomas S Hatch 2012-03-03 10:38:26 -08:00
commit d826be13e8
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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