mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add a note about using different styles of quotes.
This commit is contained in:
parent
38d9b3d553
commit
f2250d474a
1 changed files with 6 additions and 1 deletions
|
@ -115,7 +115,7 @@ versions will also be loaded as booleans (``true``, ``false``, ``yes``, ``no``,
|
|||
Pillar data. Make sure that your Pillars which need to use the string versions
|
||||
of these values are enclosed in quotes. Pillars will be parsed twice by salt,
|
||||
so you'll need to wrap your values in multiple quotes, including double quotation
|
||||
marks (``" "``) and single quotation marks (``' '``). note that spaces are included
|
||||
marks (``" "``) and single quotation marks (``' '``). Note that spaces are included
|
||||
in the quotation type examples for clarity.
|
||||
|
||||
Multiple quoting examples looks like this:
|
||||
|
@ -127,6 +127,11 @@ Multiple quoting examples looks like this:
|
|||
- "'YES'"
|
||||
- '"No"'
|
||||
|
||||
.. note::
|
||||
|
||||
When using multiple quotes in this manner, they must be different. Using ``"" ""``
|
||||
or ``'' ''`` won't work in this case (spaces are included in examples for clarity).
|
||||
|
||||
The '%' Sign
|
||||
============
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue