If cache directory is missing (e.g /var/cache/salt/master/minions/ not present) then command
fails and produces python traceback like...
File "/usr/lib/python2.6/site-packages/salt/runners/cache.py", line 19, in _cdata
for minion in os.listdir(mdir):
OSError: [Errno 2] No such file or directory: '/var/cache/salt/master/minions
This may happen if cache is disabled in master config file and cache directory is not created at all.
but it may not be obvious to the users from the python error.
Thanks, I imagine this will be an easy fix
Add a try/except block around cache lookup since the cachedir might not be there