From be45816c807c89a36cf8d0643b5a7c6bfafd645b Mon Sep 17 00:00:00 2001 From: Jake Champlin Date: Fri, 20 Jan 2017 09:51:25 -0500 Subject: [PATCH] documentation: Add warning for pathexpand interpolation function Note that the `pathexpand` interpolation function could cause an unwanted diff on two different hosts --- website/source/docs/configuration/interpolation.html.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/website/source/docs/configuration/interpolation.html.md b/website/source/docs/configuration/interpolation.html.md index 5c2f58d61..8073d7653 100644 --- a/website/source/docs/configuration/interpolation.html.md +++ b/website/source/docs/configuration/interpolation.html.md @@ -271,7 +271,8 @@ The supported built-in functions are: * `md5(string)` - Returns a (conventional) hexadecimal representation of the MD5 hash of the given string. - * `pathexpand(string)` - Returns a filepath string with `~` expanded to the home directory. + * `pathexpand(string)` - Returns a filepath string with `~` expanded to the home directory. Note: + This will create a plan diff between two different hosts, unless the filepaths are the same. * `replace(string, search, replace)` - Does a search and replace on the given string. All instances of `search` are replaced with the value