Clarify caching location for minion_id

This commit is contained in:
Colton Myers 2014-01-13 17:24:20 -07:00
parent 8c091c6451
commit 157f26000f

View File

@ -1645,7 +1645,8 @@ def get_id(root_dir=None, minion_id=False, cache=True):
with salt.utils.fopen(id_cache) as idf: with salt.utils.fopen(id_cache) as idf:
name = idf.read().strip() name = idf.read().strip()
if name: if name:
log.info('Using cached minion ID: {0}'.format(name)) log.info('Using cached minion ID from {0}: {1}'
.format(id_cache, name))
return name, False return name, False
except (IOError, OSError): except (IOError, OSError):
pass pass