summaryrefslogtreecommitdiffstats
path: root/func/minion/modules/smart.py
Commit message (Collapse)AuthorAgeFilesLines
* export smart minion modulemakkalot2008-08-081-0/+19
|
* added in the desc/version/api items in the modules.Steve 'Ashcrow' Milner2008-01-161-0/+4
|
* Simplify our modules by auto-detecting them and registering their handlersLuke Macken2008-01-151-10/+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'
* removed a lot of misplaced shebangs.Steve 'Ashcrow' Milner2008-01-131-2/+0
|
* Add a new method "inventory" which will be the default method func-inventory ↵Michael DeHaan2007-10-241-1/+2
| | | | | | | | will call, so that modules that have non-constant data (like the process module) won't record their data in func-inventory by default. Only modules that have mostly-static data will have an inventory method, though often this will be aliased to their existing info() method -- but maybe not always.
* Moved code under the func namespace.Devan Goodwin2007-10-021-0/+53
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.