Revert "Add file as supported protocol for file source_hash. Fixes #23764."

This reverts commit 4b9d7426cc.
This commit is contained in:
L. Axton Malsbury 2015-08-05 09:51:33 -05:00
parent 4b9d7426cc
commit 5a7cab4dcc

View file

@ -2933,7 +2933,7 @@ def get_managed(
elif source.startswith('/'):
source_sum = get_hash(source)
elif source_hash:
protos = ('salt', 'http', 'https', 'ftp', 'swift', 's3', 'file')
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)