salt.resources.dummy.modules.test#
Provide the test execution module for the dummy resource type.
Lives at salt/resources/dummy/modules/test.py — its location in the
per-type override directory makes it visible only to the dummy resource
loader (via the per-type prepend in _module_dirs()), so no
__virtual__ gate is needed. Standard salt.modules.test is
shadowed by directory-order priority for jobs dispatched to dummy
resources; managing-minion jobs continue to use the standard module.
- salt.resources.dummy.modules.test.ping()#
Return
Trueif the targeted dummy resource is responsive.Delegates to
salt.resources.dummy.ping()via__resource_funcs__so the result reflects the actual state of the resource rather than the managing minion.CLI Example:
salt -C 'T@dummy:dummy-01' test.ping