This is a simple proxy-minion designed to connect to and communicate with a server that exposes functionality via SSH. This can be used as an option when the device does not provide an api over HTTP and doesn't have the python stack to run a minion.
salt.proxy.ssh_sample.
initialized
()Since grains are loaded in many different places and some of those places occur before the proxy can be initialized, return whether our init() function has been called
salt.proxy.ssh_sample.
package_list
()List "packages" by executing a command via ssh This function is called in response to the salt command
salt.proxy.ssh_sample.
parse
(out)Extract json from out.
salt.proxy.ssh_sample.
service_restart
(name)Restart a "service" on the ssh server
New in version 2015.8.2.
salt.proxy.ssh_sample.
service_start
(name)Start a "service" on the ssh server
New in version 2015.8.2.