summaryrefslogtreecommitdiffstats
path: root/func
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of ssh://git.fedorahosted.org/git/funcScott Henson2008-01-137-25/+7
|\
| * more deletions of shebangs.Steve 'Ashcrow' Milner2008-01-137-25/+7
| |
* | Merge branch 'master' of ssh://git.fedorahosted.org/git/funcScott Henson2008-01-1325-66/+28
|\|
| * removed a lot of misplaced shebangs.Steve 'Ashcrow' Milner2008-01-1325-66/+28
| |
* | Give people the ability to get exceptions back from the other side of the clientScott Henson2008-01-131-1/+4
|/
* 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
|
* 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.
* Apply AT's XMLRPC patch to enable his Perl client to be happy.Michael DeHaan2007-12-191-0/+6
|
* 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
|
* Tweak connection refused logic in func-inventoryMichael DeHaan2007-12-171-3/+7
|
* Make func-inventory work again, although more needs to be done to tolerate ↵Michael DeHaan2007-12-172-27/+25
| | | | systems that can't be connected to.
* Added inventory module for mount, though something has broken ↵Michael DeHaan2007-12-173-1/+8
| | | | 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
|
* Fix the noglob handling, fixing things like func-inventory after the MultiplexerMichael DeHaan2007-12-111-4/+5
| | | | patches were applied.
* Applied James Anthill's patch to generalize "show" features, plus a releaseMichael DeHaan2007-12-111-29/+5
| | | | bump preparing for a new release to Fedora and EPEL mirrors.
* Integrating the multiplexer feature (forkbomb.py) with func's Client module. ↵Michael DeHaan2007-11-302-7/+26
| | | | This can be wired up to other modules as well, but I've only added it to "call" for now. To use it, pass in the option --forks=N, ex --forks=3 on the command line as an option to "call". The default is forks==1 which completely bypasses the fork code, just to ensure we don't break anything using the Func API that might not like it. (However I'm pretty sure it would be fine).
* Working on integrating the multiplexer code with funcMichael DeHaan2007-11-302-12/+26
|
* Add forkbomb.py, which is a module we'll use to implement the multiplexer.Michael DeHaan2007-11-301-0/+146
|
* moving yum.py to yumcmd.py so it will, you know, actually workSeth Vidal2007-11-151-0/+0
|
* Remove some debug printsMichael 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.
* make func-inventory smart enough to know that if a module just returns a ↵Michael DeHaan2007-10-261-0/+4
| | | | string, it doesn't have to pretty print it
* 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
* Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcAdrian Likins2007-10-261-0/+3
|\
| * When func is invoked with no-args, show instructions rather than traceback.Michael DeHaan2007-10-261-0/+3
| |
* | catch any/all exceptions from trying to load a module,Adrian Likins2007-10-261-1/+5
|/ | | | report, and ignore
* This adds alternative output formats for func-inventory, so that other ↵Michael DeHaan2007-10-261-1/+30
| | | | | | programs could more easily read the tree. The default is still pretty print as that makes the git diffs nicest.
* Slight changes to make it easier to establish seperate client handles to all ↵Michael DeHaan2007-10-252-14/+25
| | | | | | | | | | servers and walk them, rather than using the Client as a multiplexer object. In most cases things won't care, but since ping is an interactive command that is not intended to ever be parsed, this gives the impression that things are more speedy for that one command. Syntax is still "func '*' ping"
* Added a ping function to the test module and a new command "func '*' ping" ↵Michael DeHaan2007-10-253-2/+77
| | | | | | | | | 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.
* Make pretty printer be the default print option, and make a new option for ↵Michael DeHaan2007-10-251-6/+13
| | | | | | raw output that just uses Python print.
* 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.
* Inventory module now defaults to calling 'inventory' methods, not 'info', to ↵Michael DeHaan2007-10-241-3/+3
| | | | | | | | represent that info() data may change frequently and not be something we want to track. Also fix the --no-git option.
* 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-242-4/+14
| | | | | change copyfile minion module to accept blobs, add checksum_blob for doing plain blobs
* add a .info attribute so virt status is stored as part of inventoryAdrian Likins2007-10-241-0/+10
| | | | sweeps in func-inventory
* move "func list_minions" to be a cmd moduleAdrian Likins2007-10-242-16/+63
| | | | | | | | | So now it also respects the hostnamegoo glob, so you can use it to test glob patterns func "*.redhat.com" list_minions will show all the minions that match that pattern
* Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcMichael DeHaan2007-10-231-1/+0
|\ | | | | | | | | | | Conflicts: func/overlord/client.py
| * remove unused func_command importAdrian Likins2007-10-231-1/+1
| | | | | | | | (was causing circular imports)