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.
Method called by grains module.
Get the grains from the proxied device
Refresh the grains from the proxied device
Required. Can be used to initialize the server connection.
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
Install a "package" on the ssh server
List "packages" by executing a command via ssh This function is called in response to the salt command
salt target_minion pkg.list_pkgs
Remove a "package" on the ssh server
Extract json from out.
out: Type string. The data returned by the ssh command.
Required. Ping the device on the other end of the connection
Start a "service" on the ssh server
New in version 2015.8.2.
Restart a "service" on the ssh server
New in version 2015.8.2.
Start a "service" on the ssh server
New in version 2015.8.2.
Stop a "service" on the ssh server
New in version 2015.8.2.
Disconnect