fix salt protocol matching

This commit is contained in:
Thomas S Hatch 2011-05-22 16:47:33 -06:00
parent 9fd4265ba7
commit 55edae3a29

View File

@ -77,7 +77,7 @@ def cache_files(paths):
payload = {'enc': 'aes'}
ret = []
for path in paths:
if not path.startswith('salt;//'):
if not path.startswith('salt://'):
return False
for path in paths:
dest = os.path.join(__opts__['cachedir'], 'files', path)