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 <sfinucan@redhat.com>
Closes-Bug: #1872839
This commit is contained in:
Stephen Finucane 2020-05-01 16:10:30 +01:00 committed by Ben Nemec
parent 579a323a43
commit df5e5db191

View File

@ -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