salt.proxy.dummy
This is the a dummy proxy-minion designed for testing the proxy minion subsystem.
-
Method called by grains module.
salt.proxy.dummy.fns()
-
Make up some grains
salt.proxy.dummy.grains()
-
Refresh the grains
salt.proxy.dummy.grains_refresh()
-
Required. Can be used to initialize the server connection.
salt.proxy.dummy.init(opts)
-
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.initialized()
-
Install a "package" on the REST server
salt.proxy.dummy.package_install(name, **kwargs)
-
List "packages" installed on the REST server
salt.proxy.dummy.package_list()
-
Remove a "package" on the REST server
salt.proxy.dummy.package_remove(name)
-
Check the installation status of a package on the REST server
salt.proxy.dummy.package_status(name)
-
Degenerate ping
salt.proxy.dummy.ping()
-
List "services" on the REST server
salt.proxy.dummy.service_list()
-
Restart a "service" on the REST server
salt.proxy.dummy.service_restart(name)
-
Start a "service" on the dummy server
salt.proxy.dummy.service_start(name)
-
Check if a service is running on the REST server
salt.proxy.dummy.service_status(name)
-
Stop a "service" on the dummy server
salt.proxy.dummy.service_stop(name)
-
For this proxy shutdown is a no-op
salt.proxy.dummy.shutdown(opts)
-
Test function so we have something to call from a state :return:
salt.proxy.dummy.test_from_state()
-
"Upgrade" packages
salt.proxy.dummy.upgrade()
-
Call the REST endpoint to see if the packages on the "server" are up to date.
salt.proxy.dummy.uptodate()
© 2021 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltproject.io/en/latest/ref/proxy/all/salt.proxy.dummy.html