From 52ba528c722d06dd2d8b5e0c28d6f92688d05fea Mon Sep 17 00:00:00 2001 From: Dmitry Kuzmenko Date: Fri, 18 Mar 2016 11:15:35 +0300 Subject: [PATCH] Updated status.ping_master docstring --- salt/modules/status.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/salt/modules/status.py b/salt/modules/status.py index 410a6c07bb..0a57bcf902 100644 --- a/salt/modules/status.py +++ b/salt/modules/status.py @@ -833,9 +833,16 @@ def master(master=None, connected=True): def ping_master(master): ''' - Sends ping request to the given master. - Fires '__master_alive' event on success. + .. versionadded:: 2016.3.0 + + Sends ping request to the given master. Fires '__master_alive' event on success. Returns bool result. + + CLI Example: + + .. code-block:: bash + + salt '*' status.ping_master localhost ''' if master is None or master == '': return False