mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Merge pull request #17148 from thatch45/rallytime-add_xfs_cli_example
Merge #17143
This commit is contained in:
commit
f5cc100dd3
@ -289,6 +289,13 @@ def _xfs_prune_output(out, uuid):
|
||||
def prune_dump(sessionid):
|
||||
'''
|
||||
Prunes the dump session identified by the given session id.
|
||||
|
||||
CLI Example:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
salt '*' xfs.prune_dump b74a3586-e52e-4a4a-8775-c3334fa8ea2c
|
||||
|
||||
'''
|
||||
out = __salt__['cmd.run_all']("xfsinvutil -s {0} -F".format(sessionid))
|
||||
_verify_run(out)
|
||||
|
Loading…
Reference in New Issue
Block a user