| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
write some unit tests that use the "test.echo" module to test some basic
marshall/demarshalling code
|
| |
|
|
|
|
| |
(If it hits no exceptions, returns are right, it's the partial error case to deal with next...)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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'
|
|
|
|
| |
Ok it works now
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
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.
|