Add environment to virtual requirements file cache

This commit is contained in:
Aaron Tygart 2012-11-18 15:48:43 -06:00
parent c58db1a66e
commit 2af5753549

View File

@ -56,7 +56,7 @@ def managed(name,
# Bail out early if the specified requirements file can't be found
if requirements:
orig_path = requirements
requirements = __salt__['cp.cache_file'](requirements)
requirements = __salt__['cp.cache_file'](requirements, __env__)
if not requirements:
ret.update({