summaryrefslogtreecommitdiffstats
path: root/modules/func_module.py
Commit message (Collapse)AuthorAgeFilesLines
* Moved code under the func namespace.Devan Goodwin2007-10-021-67/+0
| | | | | | 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.
* Remove unused importsJames Bowes2007-09-281-1/+0
|
* config crap in one file so we don't have recursive/impossible imports, I hopeSeth Vidal2007-09-271-1/+1
|
* really nice if I'd stop dropping 'i' out of config_fileSeth Vidal2007-09-271-4/+5
|
* add a system.list_modules method that returns a list of all the modulesAdrian Likins2007-09-271-2/+3
| | | | | | | | add a MODULE.list_methods that returns a list of all the methods for a module note that these kind of crisscross system.listMethods, but tis okay
* move logger and config_data to func/funcAdrian Likins2007-09-271-2/+8
| | | | | | | | | | | update modules that need new location modules/func_module.py: update to use new logger/config locations, also go ahead and register as a real module, to shut up the start up. It shouldn't hurt anything Some minor import reordering at a couple places (I try to keep at least system import alphabetical)
* Fix import paths.Michael DeHaan2007-09-261-2/+2
|
* Import from minion, not serverJames Bowes2007-09-261-2/+2
|
* pyflakes cleanupsAdrian Likins2007-09-241-6/+2
| | | | | | | mostly just removing unused modules change "from codes import *" to "import codes" in a couple places and updated accordingly
* add some simple support for base object methodsAdrian Likins2007-09-241-1/+22
| | | | | | | | | | | | | add "module_version", "module_api_version" and "module_description" as base object methods. All classes based on func_module should get this. modules should set a self.version, self.api_version, self.description with approriate values. class or instance variables both work. If values aren't set, defaults are provided. alternativelt, the modules can implement and export "module_version", "module_api_version", and "module_description" themself if they like
* change to module loader to allow subdirs in the module path.Adrian Likins2007-09-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | This also implies that methods calls need a module as well (aka, you now have to call test.test_add instead of just test_add) but this also means you can setup modules/foo/bar/blip.py and blip.py exports a "do_blippy" method, which you would call by the name foo.bar.blip.do_blippy() Note, any subdir that has module files in it, will need an approriate __init__.py file. server.py, func_module.py: To do the above, we need to pass in the module_name to the register function, so we can associate it correctly. server.py also got a fix for a FuncException that needed tobe codes.FuncException
* Rename web_svc as func_module.Michael DeHaan2007-09-211-0/+43