| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
unused import
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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'
|
| |
|
| |
|
|
|
|
| |
directory that is tracked.
|
|
tweaks. "func spec call filetracker track filename" can be
used to track a file, and "func spec call filetracker untrack filename" removes it. Then it shows up with lots of data using
"func spec call filetracker inventory". Addition can also specify for the contents of data in the said files to be noted in inventory.
Additionally, the inventory function can be told to return data structures instead of an easily-diffable list, and
the checksums can be enabled/disabled.
|