mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge branch '2015.8' into '2016.3'
No conflicts.
This commit is contained in:
commit
ccb664050d
1 changed files with 3 additions and 1 deletions
|
@ -464,7 +464,9 @@ class SPMClient(object):
|
|||
dl_path = dl_path.replace('file://', '')
|
||||
shutil.copyfile(dl_path, out_file)
|
||||
else:
|
||||
http.query(dl_path, text_out=out_file)
|
||||
response = http.query(dl_path, text=True)
|
||||
with salt.utils.fopen(out_file, 'w') as outf:
|
||||
outf.write(response.get('text'))
|
||||
|
||||
self._local_install((None, out_file), package)
|
||||
return
|
||||
|
|
Loading…
Add table
Reference in a new issue