Saltstack module introspect 详解
introspect.service_highstate
Return running and enabled services in a highstate structure. By default also returns package dependencies for those services, which means that package definitions must be created outside this function. To drop the package dependencies, set ``requires`` to False. CLI Example: salt myminion introspect.service_highstate salt myminion introspect.service_highstate requires=False
introspect.running_service_owners
Determine which packages own the currently running services. By default, excludes files whose full path starts with ``/dev``, ``/home``, ``/media``, ``/proc``, ``/run``, ``/sys``, ``/tmp`` and ``/var``. This can be overridden by passing in a new list to ``exclude``. CLI Example: salt myminion introspect.running_service_owners
introspect.enabled_service_owners
Return which packages own each of the services that are currently enabled. CLI Example: salt myminion introspect.enabled_service_owners
相关推荐
80327065 2020-06-28
80327065 2020-06-08
SSCCGo 2020-04-10
88403461 2020-03-28
83317360 2020-03-28
82413564 2020-03-28
80183857 2020-03-28
SSCCGo 2020-03-28
SSCCGo 2020-03-26
SSCCGo 2020-03-23
80327065 2020-03-09
80183857 2020-02-27
80327065 2020-02-20
80327065 2020-02-03
SSCCGo 2019-12-28
80327065 2019-12-23
quguang 2019-12-02
89367161 2019-10-19