From a2cf71344ddfa5201342e2cc680ac99fbce31491 Mon Sep 17 00:00:00 2001 From: John Slee Date: Thu, 3 Aug 2017 22:35:08 +1000 Subject: [PATCH 1/2] brief note about escaping braces in manifests --- manifests/README.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/manifests/README.rst b/manifests/README.rst index 37a731d..e5c57a2 100644 --- a/manifests/README.rst +++ b/manifests/README.rst @@ -21,6 +21,10 @@ setting. Not all settings support this though, to see whether embedding a manifest variable in a setting is possible, look for the ``manifest vars`` label. +To insert a literal ``{foo}``, eg. in a shell command where you may want +to use the expression ``${foo}``, use double braces instead, ie. +``{{foo}}``. + Sections -------- From 84ee0f3d9ab5962beeab4729dd0ec606c054ae33 Mon Sep 17 00:00:00 2001 From: John Slee Date: Fri, 4 Aug 2017 09:34:41 +1000 Subject: [PATCH 2/2] manifest escapes: better wording as suggested --- manifests/README.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifests/README.rst b/manifests/README.rst index e5c57a2..50b5ad9 100644 --- a/manifests/README.rst +++ b/manifests/README.rst @@ -21,9 +21,9 @@ setting. Not all settings support this though, to see whether embedding a manifest variable in a setting is possible, look for the ``manifest vars`` label. -To insert a literal ``{foo}``, eg. in a shell command where you may want -to use the expression ``${foo}``, use double braces instead, ie. -``{{foo}}``. +To insert a literal ``{foo}`` use double braces, that is ``{{foo}}``. +For example in a shell command where you may want to use the +expression ``${foo}``, use ``${{foo}}`` instead. Sections --------