salt.proxy.rest_sample

This is a simple proxy-minion designed to connect to and communicate with the bottle-based web service contained in https://github.com/salt-contrib/proxyminion_rest_example

salt.proxy.rest_sample.grains()

Get the grains from the proxied device

salt.proxy.rest_sample.grains_refresh()

Refresh the grains from the proxied device

salt.proxy.rest_sample.id(opts)

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

salt.proxy.rest_sample.init(opts)
salt.proxy.rest_sample.package_install(name, **kwargs)

Install a "package" on the REST server

salt.proxy.rest_sample.package_list()

List "packages" installed on the REST server

salt.proxy.rest_sample.package_remove(name)

Remove a "package" on the REST server

salt.proxy.rest_sample.package_status(name)

Check the installation status of a package on the REST server

salt.proxy.rest_sample.ping()

Is the REST server up?

salt.proxy.rest_sample.service_list()

List "services" on the REST server

salt.proxy.rest_sample.service_restart(name)

Restart a "service" on the REST server

salt.proxy.rest_sample.service_start(name)

Start a "service" on the REST server

salt.proxy.rest_sample.service_status(name)

Check if a service is running on the REST server

salt.proxy.rest_sample.service_stop(name)

Stop a "service" on the REST server

salt.proxy.rest_sample.shutdown(opts)

For this proxy shutdown is a no-op