| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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'
|
| |
|
|
|
|
|
|
| |
>The attached patch renames the virt module's info() method to state(),
>then adds a new info() method that returns all of libvirt's info()
>data.
|
|
|
|
| |
to be there.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
sweeps in func-inventory
|
|
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.
|