Merge pull request #17148 from thatch45/rallytime-add_xfs_cli_example

Merge #17143
This commit is contained in:
Thomas S Hatch 2014-11-04 09:21:53 -07:00
commit f5cc100dd3

View File

@ -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)