Provide the service module for the proxy-minion SSH sample .. versionadded:: 2015.8.2
salt.modules.ssh_service.
enabled
(name, sig=None)¶Only the 'redbull' service is 'enabled' in the test
salt.modules.ssh_service.
get_all
()¶Return a list of all available services
CLI Example:
salt '*' service.get_all
salt.modules.ssh_service.
list
()¶Return a list of all available services.
CLI Example:
salt '*' service.list
salt.modules.ssh_service.
restart
(name, sig=None)¶Restart the specified service with rest_sample CLI Example:
salt '*' service.restart <service name>
salt.modules.ssh_service.
running
(name, sig=None)¶Return whether this service is running.
salt.modules.ssh_service.
start
(name, sig=None)¶Start the specified service on the rest_sample
CLI Example:
salt '*' service.start <service name>
salt.modules.ssh_service.
status
(name, sig=None)¶Return the status for a service via rest_sample, returns a bool whether the service is running.
CLI Example:
salt '*' service.status <service name>
salt.modules.ssh_service.
stop
(name, sig=None)¶Stop the specified service on the rest_sample
CLI Example:
salt '*' service.stop <service name>
Generated on April 03, 2018 at 06:37:10 MDT.
You are viewing docs for the previous stable release, 2016.11.9. Switch to docs for the latest stable release, 2017.7.4, or to a recent doc build from the develop branch.
© 2018 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy