From df5e5db191c13198a12b3eb24f0eda603e3324d8 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Fri, 1 May 2020 16:10:30 +0100 Subject: [PATCH] docs: Mention other ways of escaping '$' oslo config code treat treats the '$' as a special character and it needs to be delimited when using within a string. There are two ways of doing this, '$$' or '\$'. We document the former but not the latter. Fix this. Change-Id: I37cdf31ba1c2924779a46b1a2eeabb66c46a2212 Signed-off-by: Stephen Finucane Closes-Bug: #1872839 --- doc/source/configuration/format.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/configuration/format.rst b/doc/source/configuration/format.rst index 9254a1e7..74671177 100644 --- a/doc/source/configuration/format.rst +++ b/doc/source/configuration/format.rst @@ -155,7 +155,7 @@ option, in this case as ``controller:5672``. # RabbitMQ HA cluster host:port pairs. (list value) rabbit_hosts = $rabbit_host:$rabbit_port -To avoid substitution, use ``$$``, it is replaced by a single ``$``. +To avoid substitution, escape the ``$`` with ``$$`` or ``\$``. For example, if your LDAP DNS password is ``$xkj432``, specify it, as follows: .. code-block:: ini