summaryrefslogtreecommitdiffstats
path: root/func/overlord
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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
* When func is invoked with no-args, show instructions rather than traceback.Michael DeHaan2007-10-261-0/+3
|
* 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-252-1/+72
| | | | | | | | | 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.
* 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.
* change copyfile cmd line to transmit file contents as binary blobsAdrian Likins2007-10-241-2/+2
| | | | | change copyfile minion module to accept blobs, add checksum_blob for doing plain blobs
* 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)
* | Initial go at the func inventory app (includes git integration). Docs TBA ↵Michael DeHaan2007-10-232-1/+154
|/ | | | shortly.
* Slight docs cleanup, make usage print the proper name of the app.Michael DeHaan2007-10-232-2/+1
|
* copyfile.py: dont need the parse call hereAdrian Likins2007-10-123-7/+8
| | | | | | | command.py: move the parse args stuff to before we call subcommands func_command.py: include the copyfile classes so we can use them
* what kind of weird name is "rpath", change to "remotepath"Adrian Likins2007-10-121-2/+2
|
* add "copyfile" commandline module that knows how to get the localAdrian Likins2007-10-123-0/+109
| | | | | | file, it's perms, and call the remote end correctly add copyright blurb to other modules
* add "show hardare --os" optionAdrian Likins2007-10-101-11/+6
| | | | | | | clean up other bits which of course, it makes no sense to call a subcommand called "hardware" to get the os version, but alas.
* add support to func cli for:Adrian Likins2007-10-091-10/+55
| | | | | | | | func show hardware (big dump of hardware info) func show hardware --platform func show hardware --memory
* make func_command use the new handleArguments method fromAdrian Likins2007-10-094-44/+140
| | | | | | | | | | | | | | | | command.Command. Use this to fetch the hostnamegoo client.py: pull out expand_servers to module scope, and isServer(). This method basically tries to see if what we think is hostnamegoo is actually hostnamegoo. Kind of a guess atm. cmd_modules/call.py: change this so it doesn't do it's own parsing out of the hostname goo, instead using that from func_command (aka, the top level command parser) cmd_modules/show.py: just a cmd line module in early development
* add a hook into command.py to do stuff to the arguments beforeAdrian Likins2007-10-091-0/+10
| | | | | | | command.py tries to dig into them itself. We will use this to get the "hostnamegoo" out before looking for subcommands.
* er, merge?Adrian Likins2007-10-081-73/+4
| | | | wtf, I already committed and pushed these changes
* add a couple alternatice serializers just for kicksAdrian Likins2007-10-081-8/+35
|
* create a func/overkiad/cmd_modules sub dirAdrian Likins2007-10-083-0/+102
| | | | | | | | | add it to the setup use new func_command module for base class of commands move Call class to cmd_modules/call update scripts/func to use new commandline class
* Moved code under the func namespace.Devan Goodwin2007-10-026-0/+701
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.