summaryrefslogtreecommitdiffstats
path: root/func/minion/module_loader.py
Commit message (Collapse)AuthorAgeFilesLines
* Revert "debug info"John Eckersberg2008-01-281-2/+1
| | | | This reverts commit 4c602438c47b2ca6317540eb59b37dfc5f354926.
* debug infoJohn Eckersberg2008-01-281-1/+2
|
* Load classes under __init__ objects to break this down some moreJohn Eckersberg2008-01-271-6/+4
|
* Combine our is{class,subclass} checks into a single conditionalLuke Macken2008-01-151-4/+3
|
* Simplify our modules by auto-detecting them and registering their handlersLuke Macken2008-01-151-7/+10
| | | | | | | | | | | | | | - 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'
* Slay a couple of tab charactersLuke Macken2008-01-141-1/+1
|
* removed a lot of misplaced shebangs.Steve 'Ashcrow' Milner2008-01-131-2/+0
|
* log this stuff as a warning, don't print to stdout sinceAdrian Likins2007-10-261-3/+7
| | | | that just seems to alarm people
* catch any/all exceptions from trying to load a module,Adrian Likins2007-10-261-1/+5
| | | | report, and ignore
* Moved code under the func namespace.Devan Goodwin2007-10-021-0/+112
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.