SaltStack源码分析之test模块
def ping():'''
Just used to make sure the minion is up and responding
Return True
CLI Example:
.. code-block:: bash
salt '*' test.ping
'''
if 'proxyobject' in __opts__:
return __opts__['proxyobject'].ping()
else:
return True
页:
[1]