mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #38970 from gtmanfred/2016.11
when using local_cache we have to pass the list of minions
This commit is contained in:
commit
4eec641b65
1 changed files with 4 additions and 1 deletions
|
@ -548,7 +548,10 @@ class SSH(object):
|
|||
}
|
||||
|
||||
# save load to the master job cache
|
||||
self.returners['{0}.save_load'.format(self.opts['master_job_cache'])](jid, job_load)
|
||||
if self.opts['master_job_cache'] == 'local_cache':
|
||||
self.returners['{0}.save_load'.format(self.opts['master_job_cache'])](jid, job_load, minions=self.targets.keys())
|
||||
else:
|
||||
self.returners['{0}.save_load'.format(self.opts['master_job_cache'])](jid, job_load)
|
||||
|
||||
for ret in self.handle_ssh(mine=mine):
|
||||
host = next(six.iterkeys(ret))
|
||||
|
|
Loading…
Add table
Reference in a new issue