summaryrefslogtreecommitdiffstats
path: root/func/minion
Commit message (Collapse)AuthorAgeFilesLines
...
* pychecker/pyflakesAdrian Likins2008-01-161-1/+0
| | | | unused import
* pyflakes/pychecker cleanupsAdrian Likins2008-01-161-2/+0
| | | | removed unused variables
* pyflakes/pychecker cleanupsAdrian Likins2008-01-161-3/+3
|
* apply patch from Jan Pazdziora to fix rather stupid permissions problemSeth Vidal2008-01-161-6/+6
|
* added in the desc/version/api items in the modules.Steve 'Ashcrow' Milner2008-01-1615-2/+58
|
* Updated networktest to be the new way of defining modules and updated ↵Steve 'Ashcrow' Milner2008-01-161-15/+1
| | | | func-create-module to add in docstrings.
* Fix our FuncModule list_methodsLuke Macken2008-01-151-3/+13
|
* Combine our is{class,subclass} checks into a single conditionalLuke Macken2008-01-151-4/+3
|
* Don't expose FuncModule.register_rpcLuke Macken2008-01-151-1/+2
|
* Merge branch 'master' of ssh+git://git.fedorahosted.org/git/funcLuke Macken2008-01-153-10/+81
|\
| * somehow networktest fell off the side of git ... added back.Steve 'Ashcrow' Milner2008-01-141-0/+64
| |
| * Fixed the FIXME note about stdout/stderr in process.info. Also raise ↵Steve 'Ashcrow' Milner2008-01-141-9/+17
| | | | | | | | exception when bad args are passed using the first line as the exception message.
| * removed more shebangs from files that are not executable as part of the ↵Steve 'Ashcrow' Milner2008-01-141-1/+0
| | | | | | | | application. rpmlint should output less warnings/errors.
* | Simplify our modules by auto-detecting them and registering their handlersLuke Macken2008-01-1517-234/+44
|/ | | | | | | | | | | | | | - 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
|
* Give props to Pádraig Brady for his ps_mem.py work, and update the AUTHORS ↵Luke Macken2008-01-141-1/+2
| | | | file
* Grr. Aaaargh. GGGGRRRARG! :)Michael DeHaan2008-01-131-0/+1
| | | | Ok it works now
* This is why I normally don't program on weekends, kids.Michael DeHaan2008-01-131-1/+1
|
* Register the sleep function.Michael DeHaan2008-01-131-1/+2
|
* Added sleep function to test module for testing.Michael DeHaan2008-01-131-0/+9
|
* Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcMichael DeHaan2008-01-1315-41/+18
|\ | | | | | | | | | | Conflicts: func/overlord/client.py
| * more deletions of shebangs.Steve 'Ashcrow' Milner2008-01-131-6/+3
| |
| * removed a lot of misplaced shebangs.Steve 'Ashcrow' Milner2008-01-1313-28/+2
| |
| * add missing logic for createdir option in mount.mountJohn Eckersberg2008-01-131-1/+6
| |
| * Moved from sub_process to os.access for exists.Steve 'Ashcrow' Milner2008-01-131-6/+7
| |
* | Add jobthing, which is our async job engine. It's still in progressMichael DeHaan2008-01-131-1/+4
|/ | | | | and very much a prototype that isn't expected to work yet, but you get the idea.
* Luke's process patch.Michael DeHaan2008-01-131-1/+139
|
* Apply John's threaded Func minion patch. Now minions can do more thanMichael DeHaan2008-01-131-2/+2
| | | | one thing at once!
* Add Steve's match to check if a command exists.Michael DeHaan2008-01-131-1/+14
|
* apply patch from Al Tobey <tobert@gmail.com>Adrian Likins2008-01-031-7/+27
| | | | | | >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.
* Mount module already had an inventory-suitable function, just using that.Michael DeHaan2007-12-171-15/+1
|
* Remove bogomips from inventory stats as it is not constant.Michael DeHaan2007-12-171-1/+8
|
* Fix inventory call for mount.Michael DeHaan2007-12-171-2/+2
|
* Added inventory module for mount, though something has broken ↵Michael DeHaan2007-12-172-1/+3
| | | | func-inventory's ability to query remote modules and I am still chasing what that is.
* Working on adding mount status to func-inventoryMichael DeHaan2007-12-171-0/+18
|
* Check in John Eckersberg's new mount module.Michael DeHaan2007-12-171-0/+84
|
* Patch to add check-update to yum module.Michael DeHaan2007-12-171-1/+11
|
* moving yum.py to yumcmd.py so it will, you know, actually workSeth Vidal2007-11-151-0/+0
|
* Remove some debug printsv0.13.3Michael DeHaan2007-10-261-2/+1
|
* Fix something I accidentally committed to the virt module that doesn't need ↵Michael DeHaan2007-10-261-11/+1
| | | | to be there.
* Added feature to filetracker module that will show what files are in each ↵Michael DeHaan2007-10-261-2/+11
| | | | directory that is tracked.
* Adds the filetracker module, originally developed by fordship, with some ↵Michael DeHaan2007-10-262-1/+207
| | | | | | | | | 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.
* 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
* Added a ping function to the test module and a new command "func '*' ping" ↵Michael DeHaan2007-10-251-1/+5
| | | | | | | | | which can be used to see what servers are contactable from the command line for any given operation, without needing to run an otherwise meaningful command on them. Note that it does try to contact each server before showing results, so ideally we should provide a method in the client class to get the system list and create the client objects seperately for each contact, so output can stream back one line at a time. TBA.
* Added rpm package tracking, which shows the full name, epoch, version, ↵Michael DeHaan2007-10-251-0/+48
| | | | release, and arch for every packaged installed on the system, for use with func-inventory and other apps that want it. The module supports a string return for diffs in func-inventory, and also can return arrays for other scripts.
* Adding part 2 to service inventory -- what the services are currently doing.Michael DeHaan2007-10-251-3/+16
|
* Added the first part of the service inventory code (chkconfig state) .. next ↵Michael DeHaan2007-10-251-5/+35
| | | | | | up is the list of currently running services.
* Add a new method "inventory" which will be the default method func-inventory ↵Michael DeHaan2007-10-243-13/+16
| | | | | | | | 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.
* change copyfile cmd line to transmit file contents as binary blobsAdrian Likins2007-10-241-2/+12
| | | | | change copyfile minion module to accept blobs, add checksum_blob for doing plain blobs