Merge pull request #25662 from rallytime/bp-25638

Back-port #25638 to 2015.5
This commit is contained in:
Justin Findlay 2015-07-23 10:26:40 -06:00
commit 6a2843dee2

View file

@ -2771,7 +2771,7 @@ def get_managed(
elif source.startswith('/'):
source_sum = get_hash(source)
elif source_hash:
protos = ('salt', 'http', 'https', 'ftp', 'swift')
protos = ('salt', 'http', 'https', 'ftp', 'swift', 's3')
if _urlparse(source_hash).scheme in protos:
# The source_hash is a file on a server
hash_fn = __salt__['cp.cache_file'](source_hash, saltenv)