From 5fef57124c467add1e284dda126eb9657124d0c0 Mon Sep 17 00:00:00 2001 From: Dan Date: Thu, 26 Jun 2014 15:02:39 -0700 Subject: [PATCH] Document get_file get_param incompatibility Adds a doc note that get_file only accepts static arguments. Change-Id: I3386a6f70c3ca2a8d32b7d0d56f6eb5c0bf56774 --- doc/source/template_guide/hot_spec.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/source/template_guide/hot_spec.rst b/doc/source/template_guide/hot_spec.rst index d92aafa6f7..0f464d00fb 100644 --- a/doc/source/template_guide/hot_spec.rst +++ b/doc/source/template_guide/hot_spec.rst @@ -770,6 +770,11 @@ the actual content of fetched paths and URLs. The *heat* client command supports relative paths and will transform these to absolute URLs which will be used as the *content key* in the files dictionary. +Note: The argument to *get_file* should be a static path or URL and not +rely on intrinsic functions like *get_param*. In general, the *heat* client +does not process intrinsic functions (they are only processed by the heat +server). + The example below demonstrates *get_file* usage with both relative and absolute URLs.