mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Add notes on true/false, yes/no, on/off
This commit is contained in:
parent
839bf1528f
commit
eb1f3a50ca
@ -79,6 +79,15 @@ is not desirable, then a deeply nested dict can be declared with curly braces:
|
||||
|
||||
.. _`dicts`: http://docs.python.org/library/stdtypes.html#dict
|
||||
|
||||
True/False, Yes/No, On/Off
|
||||
==========================
|
||||
|
||||
PyYAML will load these values as boolean ``True`` or ``False``. Un-capitalized
|
||||
versions will also be loaded as booleans (``true``, ``false``, ``yes``, ``no``,
|
||||
``on``, and ``off``). This can be especially problematic when constructing
|
||||
Pillar data. Make sure that your Pillars which need to use the string versions
|
||||
of these values are enclosed in quotes.
|
||||
|
||||
Integers are Parsed as Integers
|
||||
===============================
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user