mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Merge pull request #9727 from basepi/minion_id_clarification
Clarify caching location for minion_id
This commit is contained in:
commit
5df8db8ce4
@ -1645,7 +1645,8 @@ def get_id(root_dir=None, minion_id=False, cache=True):
|
||||
with salt.utils.fopen(id_cache) as idf:
|
||||
name = idf.read().strip()
|
||||
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
|
||||
except (IOError, OSError):
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user