From 096fe2cef06c050ea403bdacf77e1910208299f4 Mon Sep 17 00:00:00 2001 From: Thomas S Hatch Date: Sun, 4 Nov 2012 19:04:13 -0700 Subject: [PATCH] Tell the master to only keep the external job cache if it is turned on --- salt/master.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/master.py b/salt/master.py index 72cea0cf10..ed3ee606d0 100644 --- a/salt/master.py +++ b/salt/master.py @@ -780,7 +780,7 @@ class AESFuncs(object): self.opts['hash_type']) log.info('Got return from {id} for job {jid}'.format(**load)) self.event.fire_event(load, load['jid']) - if not self.opts['job_cache']: + if not self.opts['job_cache'] or self.opts.get('ext_job_cache'): return jid_dir = salt.utils.jid_dir( load['jid'],