Need clarification of heat template "get_file" with http resource
Hello,
I am a newbie with building heat templates. I am just trying to retrieve a file from an http server using the "get_file" function. The syntax I am using is just
get_file: "http://my_http_server/subdir/file.sh"
However, I get the error "No content found in the "files" section for get_file path http://my_http_server/subdir/file.sh%22 (http://my_http_server/subdir/file.sh")
If I issue the wget command for http://my_http_server/subdir/file.sh, I can retrieve the file fine. I thought that is how the get_file function worked, but I may be wrong. The OpenStack explanation is not clear to me where the file to be retrieved should specifically be located, I assumed if using http it is the same as a wget. But I must be wrong. What am I missing? Thanks!
pls be more specific about the errors you are seeing, the following is not very helpful --
I get the error "No content found in the "files" section for get_file path http://my_http_server/subdir/file.sh%22 (http://my_http_server/subdir/file.sh")
I wish I could be more specific, but that is the only error that appears. It is popup box on the Horizon UI. This is OpenStack Juno version. Again, my real question is, should get_file act like wget?