Merge pull request #7686 from evinrude/develop

Make function args available to returners in salt-call
This commit is contained in:
Thomas S Hatch 2013-10-09 09:39:15 -07:00
commit ccad2c5322

View File

@ -101,6 +101,7 @@ class Caller(object):
if self.opts.get('return', ''):
ret['id'] = self.opts['id']
ret['fun'] = fun
ret['fun_args'] = self.opts['arg']
for returner in self.opts['return'].split(','):
try:
self.minion.returners['{0}.returner'.format(returner)](ret)