Functions to perform introspection on a minion, and return data in a format usable by Salt States
Return which packages own each of the services that are currently enabled.
salt myminion introspect.enabled_service_owners
running_service_owners(exclude=(u'/dev', u'/home', u'/media', u'/proc', u'/run', u'/sys/', u'/tmp', u'/var'))¶
Determine which packages own the currently running services. By default,
excludes files whose full path starts with
/var. This can be
overridden by passing in a new list to
salt myminion introspect.running_service_owners
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.
salt myminion introspect.service_highstate salt myminion introspect.service_highstate requires=False
Generated on September 21, 2018 at 07:06:45 MDT.