This is a simple proxy-minion designed to connect to and communicate with the bottle-based web service contained in https://github.com/saltstack/salt-contrib/tree/master/proxyminion_rest_example
Get the grains from the proxied device
Refresh the grains from the proxied device
Return a unique ID for this proxy minion. This ID MUST NOT CHANGE. If it changes while the proxy is running the salt-master will get really confused and may stop talking to this minion
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 REST server
List "packages" installed on the REST server
Remove a "package" on the REST server
Check the installation status of a package on the REST server
Is the REST server up?
List "services" on the REST server
Restart a "service" on the REST server
Start a "service" on the REST server
Check if a service is running on the REST server
Stop a "service" on the REST server
For this proxy shutdown is a no-op
Test function so we have something to call from a state :return:
Call the REST endpoint to see if the packages on the "server" are up to date.