Add sample list data via command line pillar

This commit is contained in:
asnell 2018-06-21 08:44:14 -04:00 committed by GitHub
parent e21088c1a4
commit f66bf60073
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -332,6 +332,12 @@ Nested pillar values can also be set via the command line:
salt '*' state.sls my_sls_file pillar='{"foo": {"bar": "baz"}}'
Lists can be passed via command line pillar data as follows:
.. code-block:: bash
salt '*' state.sls my_sls_file pillar='{"some_list": ["foo", "bar", "baz"]}'
.. note::
If a key is passed on the command line that already exists on the minion,