Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Need clarification of heat template "get_file" with http resource


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/"

However, I get the error "No content found in the "files" section for get_file path http://my_http_server/subdir/"

If I issue the wget command for http://my_http_server/subdir/, 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!