mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
add release note
This commit is contained in:
parent
2b7c302825
commit
261e2fb89f
1 changed files with 20 additions and 1 deletions
|
@ -24,7 +24,7 @@ The :mod:`state.test <salt.modules.state.test>` function
|
|||
can be used to test a state on a minion. This works by executing the
|
||||
:mod:`state.apply <salt.modules.state.apply>` function while forcing the ``test`` kwarg
|
||||
to ``True`` so that the ``state.apply`` function is not required to be called by the
|
||||
user directly. This also allows you to add the ``state.test`` function to a minion's
|
||||
user directly. This also allows you to add the ``state.test`` function to a minion's
|
||||
``minion_blackout_whitelist`` pillar if you wish to be able to test a state while a
|
||||
minion is in blackout.
|
||||
|
||||
|
@ -93,3 +93,22 @@ State Changes
|
|||
=============
|
||||
- Adding a new option for the State compiler, ``disabled_requisites`` will allow
|
||||
requisites to be disabled during State runs.
|
||||
|
||||
|
||||
Salt Renderer updates
|
||||
=====================
|
||||
|
||||
A new renderer for toml files has been added.
|
||||
|
||||
.. code-block:: none
|
||||
|
||||
#!jinja|toml
|
||||
|
||||
{% set myvar = "sometext" %}
|
||||
|
||||
[["some id"."test.nop"]]
|
||||
name = "{{ myvar }}"
|
||||
[["some id"."test.nop"]]
|
||||
txt = "hello"
|
||||
[["some id"."test.nop"]]
|
||||
"somekey" = "somevalue"
|
||||
|
|
Loading…
Add table
Reference in a new issue