Fix some subtle behavior of how the get_url module chains into the file module, plus blend the results of daisy chain

operations in the correct order, so the file module results overlay the original module results, not the other way
around (which keeps any failure msg's intact)
This commit is contained in:
Michael DeHaan 2012-08-03 07:02:31 -04:00
parent baacde6c74
commit 85af6986cd

View file

@ -64,6 +64,8 @@ def url_do_get(module, url, dest):
else:
actualdest = dest
info['daisychain_args'] = module.params
info['daisychain_args']['state'] = 'file'
info['daisychain_args']['dest'] = actualdest
info['actualdest'] = actualdest
request = urllib2.Request(url)