mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add changelog and docs for 57718 fix
This commit is contained in:
parent
62f95eafdf
commit
a6e481ea73
2 changed files with 10 additions and 0 deletions
2
changelog/57718.fixed
Normal file
2
changelog/57718.fixed
Normal file
|
@ -0,0 +1,2 @@
|
|||
Grains module delkey and delval methods now support the force option. This is
|
||||
needed for deleting grains with complex (nested) values.
|
|
@ -426,6 +426,10 @@ def delkey(key, force=False):
|
|||
key
|
||||
The grain key from which to delete the value.
|
||||
|
||||
force
|
||||
Force remove the grain even when it is a mapped value.
|
||||
Defaults to False
|
||||
|
||||
CLI Example:
|
||||
|
||||
.. code-block:: bash
|
||||
|
@ -449,6 +453,10 @@ def delval(key, destructive=False, force=False):
|
|||
destructive
|
||||
Delete the key, too. Defaults to False.
|
||||
|
||||
force
|
||||
Force remove the grain even when it is a mapped value.
|
||||
Defaults to False
|
||||
|
||||
CLI Example:
|
||||
|
||||
.. code-block:: bash
|
||||
|
|
Loading…
Add table
Reference in a new issue