From be45816c807c89a36cf8d0643b5a7c6bfafd645b Mon Sep 17 00:00:00 2001 From: Jake Champlin Date: Fri, 20 Jan 2017 09:51:25 -0500 Subject: [PATCH 1/2] 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 From 0a1991c82efe3bc9ce9a319e71d6ea14abefa490 Mon Sep 17 00:00:00 2001 From: Jake Champlin Date: Fri, 20 Jan 2017 12:01:07 -0500 Subject: [PATCH 2/2] match paragraph indentation --- website/source/docs/configuration/interpolation.html.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/source/docs/configuration/interpolation.html.md b/website/source/docs/configuration/interpolation.html.md index 8073d7653..d84be2f4f 100644 --- a/website/source/docs/configuration/interpolation.html.md +++ b/website/source/docs/configuration/interpolation.html.md @@ -272,7 +272,7 @@ The supported built-in functions are: MD5 hash of the given string. * `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. + 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