Merge pull request #30163 from rallytime/fix-28923

Add warning about using "=" in file.line function
This commit is contained in:
Colton Myers 2016-01-06 09:32:39 -07:00
commit 83245930a6

View file

@ -1452,6 +1452,15 @@ def line(path, content, match=None, mode=None, location=None,
:param indent
Keep indentation with the previous line.
If an equal sign (``=``) appears in an argument to a Salt command, it is
interpreted as a keyword argument in the format of ``key=val``. That
processing can be bypassed in order to pass an equal sign through to the
remote shell command by manually specifying the kwarg:
.. code-block:: bash
salt '*' file.line /path/to/file content="CREATEMAIL_SPOOL=no" match="CREATE_MAIL_SPOOL=yes" mode="replace"
CLI Examples:
.. code-block:: bash