salt.proxy.dummy module
This is a dummy proxy-minion designed for testing the proxy minion subsystem.
-
salt.proxy.dummy.
fns
()
-
salt.proxy.dummy.
grains
()
Make up some grains
-
salt.proxy.dummy.
grains_refresh
()
Refresh the grains
-
salt.proxy.dummy.
init
(opts)
-
salt.proxy.dummy.
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.dummy.
package_install
(name, **kwargs)
Install a "package" on the REST server
-
salt.proxy.dummy.
package_list
()
List "packages" installed on the REST server
-
salt.proxy.dummy.
package_remove
(name)
Remove a "package" on the REST server
-
salt.proxy.dummy.
package_status
(name)
Check the installation status of a package on the REST server
-
salt.proxy.dummy.
ping
()
Degenerate ping
-
salt.proxy.dummy.
service_list
()
List "services" on the REST server
-
salt.proxy.dummy.
service_restart
(name)
Restart a "service" on the REST server
-
salt.proxy.dummy.
service_start
(name)
Start a "service" on the dummy server
-
salt.proxy.dummy.
service_status
(name)
Check if a service is running on the REST server
-
salt.proxy.dummy.
service_stop
(name)
Stop a "service" on the dummy server
-
salt.proxy.dummy.
shutdown
(opts)
For this proxy shutdown is a no-op
-
salt.proxy.dummy.
test_from_state
()
Test function so we have something to call from a state
:return:
-
salt.proxy.dummy.
upgrade
()
"Upgrade" packages
-
salt.proxy.dummy.
uptodate
()
Call the REST endpoint to see if the packages on the "server" are up to date.