mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
parent
aaa6f7d80a
commit
2c0fc919b3
@ -431,7 +431,7 @@ def _find_install_targets(name=None,
|
||||
# package's name and version
|
||||
err = 'Unable to cache {0}: {1}'
|
||||
try:
|
||||
cached_path = __salt__['cp.cache_file'](val)
|
||||
cached_path = __salt__['cp.cache_file'](val, saltenv=kwargs['saltenv'])
|
||||
except CommandExecutionError as exc:
|
||||
problems.append(err.format(val, exc))
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user