summaryrefslogtreecommitdiffstats
path: root/func/minion/modules/test.py
Commit message (Collapse)AuthorAgeFilesLines
* add a "echo" to the test moduleAdrian Likins2008-04-161-0/+6
| | | | | write some unit tests that use the "test.echo" module to test some basic marshall/demarshalling code
* Remove sleep from test.addMichael DeHaan2008-01-241-1/+0
|
* Working on async error handling, lots more to do...Michael DeHaan2008-01-231-0/+8
| | | | (If it hits no exceptions, returns are right, it's the partial error case to deal with next...)
* Simplify our modules by auto-detecting them and registering their handlersLuke Macken2008-01-151-11/+1
| | | | | | | | | | | | | | - Auto-detect and load all FuncModules. This obsoletes the need to have our modules define a register_rpc method. - Use introspection in our FuncModule to auto-register all method handlers that do not being with an underscore. This obsoletes the need to hardcode methods in our modules. - Remove all __init__ methods from our modules, along with register_rpc - Modify the func-create-module script to reflect these changes. Note that doing 'from modules import func_module' is no longer supported in our modules, do to some interesting path issues with our auto-detection code. Supported methods are now: 'import func_module' or 'from func.minion.modules import func_module'
* Grr. Aaaargh. GGGGRRRARG! :)Michael DeHaan2008-01-131-0/+1
| | | | Ok it works now
* This is why I normally don't program on weekends, kids.Michael DeHaan2008-01-131-1/+1
|
* Register the sleep function.Michael DeHaan2008-01-131-1/+2
|
* Added sleep function to test module for testing.Michael DeHaan2008-01-131-0/+9
|
* removed a lot of misplaced shebangs.Steve 'Ashcrow' Milner2008-01-131-2/+0
|
* Added a ping function to the test module and a new command "func '*' ping" ↵Michael DeHaan2007-10-251-1/+5
| | | | | | | | | which can be used to see what servers are contactable from the command line for any given operation, without needing to run an otherwise meaningful command on them. Note that it does try to contact each server before showing results, so ideally we should provide a method in the client class to get the system list and create the client objects seperately for each contact, so output can stream back one line at a time. TBA.
* Moved code under the func namespace.Devan Goodwin2007-10-021-0/+19
Previously we had overlord, minion, modules, and func all at the root of the source tree. After install these would all be shuffled below func. Relocated them in the source tree to reflect this.