Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Just some permissions clean up on source files, mostly | Adrian Likins | 2009-01-19 | 1 | -0/+0 |
| | | | | removing 'x' bits on source code and makefiles | ||||
* | Make ping subcommand use the default verbose setting if not specified. | Adrian Likins | 2008-11-12 | 1 | -0/+1 |
| | |||||
* | Split Show() and ShowHardware() classes into two seperate modules. | Adrian Likins | 2008-11-12 | 2 | -42/+67 |
| | | | | | | | This is because module_loader currently only understands how to load one class per module. That should probabaly be fixed as well. See https://fedorahosted.org/func/ticket/61 | ||||
* | Add support for configuring funcd ports. | Adrian Likins | 2008-11-12 | 2 | -8/+17 |
| | | | | | | | | | | | | | | func/overlord/base_command.py: add support for reading the port from the minion.conf file. This may need to be changed if we want to support each minion having a different port number. func/overlord/cmd_modules/call.py: The commandline options were overriding the default values in base_command for async/verbose/etc. The commandline options have been changed to get there defaults from the baseclass now. This was also causing func cli to default to async mode. func/overlord/cmd_modules/check.py: updated to reflect that the port numbers are not hardcoded now | ||||
* | Create simple copyfile overlord module that is able to send big files. | Krzysztof A. Adamski | 2008-08-23 | 1 | -15/+1 |
| | |||||
* | merge master into the export_methods branch | makkalot | 2008-08-13 | 1 | -28/+6 |
|\ | |||||
| * | Use polling method from overlord module in call cmd_module. | Krzysztof A. Adamski | 2008-08-07 | 1 | -27/+5 |
| | | |||||
* | | sleep a little bit when polling it kills the machine it is running | makkalot | 2008-08-01 | 1 | -0/+1 |
|/ | |||||
* | attempting to remove any prints to stdout that should be going to stderr | Adrian Likins | 2008-07-24 | 2 | -2/+2 |
| | | | | | | Trying to make sure things are clean for func-transmit. At some point, this should probably be some sort of log object instead of just to stderr. | ||||
* | aiee. missed some uses of "func.config". Fix those to use certmaster.config | Adrian Likins | 2008-07-24 | 2 | -2/+2 |
| | | | | | | | also missed a use of SSLCommon. darn grep, must be broken. Yeah, thats it, grep screw up. Nope, not me. Not me at all. | ||||
* | Fix usage message printing in copyfile cmd_module. | Krzysztof A. Adamski | 2008-07-20 | 1 | -1/+1 |
| | |||||
* | Removing stray print message | Michael DeHaan | 2008-07-11 | 1 | -4/+0 |
| | |||||
* | Merge branch 'ssalevan_delegation' | Michael DeHaan | 2008-07-11 | 1 | -1/+5 |
|\ | | | | | | | | | | | | | | | Conflicts: func.spec func/minion/modules/certmastermod.py setup.py | ||||
| * | Adding in some code to make CLI access available for delegation | Steve Salevan | 2008-07-10 | 1 | -1/+5 |
| | | |||||
* | | Make list_minions use the server_spec APIs versus making a remote test call. | Michael DeHaan | 2008-07-11 | 1 | -8/+4 |
| | | |||||
* | | Fix --jobstatus option for call cmd_module. | Krzysztof Adamski | 2008-07-03 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'kadamski-async2' | Michael DeHaan | 2008-07-02 | 2 | -1/+9 |
|\ \ | | | | | | | | | | | | | | | | Conflicts: func/overlord/cmd_modules/ping.py | ||||
| * | | Remove unneded print statement. | Krzysztof A. Adamski | 2008-06-29 | 1 | -1/+0 |
| | | | |||||
| * | | Add support for forcing some long running methods to be called in async mode ↵ | Krzysztof A. Adamski | 2008-06-29 | 1 | -0/+9 |
| | | | | | | | | | | | | from command line. | ||||
* | | | some help output clean ups. | Adrian Likins | 2008-06-30 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | func/overlord/command.py: set a default description. without it, none of the formatted description output gets showns func/overlord/func_command.py: better "usage" output func/overlord/func/show.py: better summary/useage of show.py | ||||
* | | | Remove stray comment | Michael DeHaan | 2008-06-30 | 1 | -1/+1 |
|/ / | |||||
* | | add a "summary" to the cmd_module classes so the help can get to them. | Adrian Likins | 2008-06-26 | 6 | -0/+6 |
| | | | | | | | | | | | | | | make "func help" work again. Sorta. It's better, but it's still not right. At least it doesnt traceback now. remove a spurious debug statement in the command parser | ||||
* | | fix traceback on "func '*' copyfile". aka, call with no arguments | Adrian Likins | 2008-06-26 | 1 | -0/+4 |
| | | |||||
* | | check for empty method list on call cmd. dont traceback if | Adrian Likins | 2008-06-26 | 1 | -0/+5 |
|/ | | | | we get one | ||||
* | Fix options.async and options.forks problem. | Krzysztof A. Adamski | 2008-06-26 | 1 | -0/+2 |
| | |||||
* | Jobthing status codes cleanup. | Krzysztof A. Adamski | 2008-06-06 | 1 | -2/+2 |
| | |||||
* | Return unformated results from do(). | Krzysztof A. Adamski | 2008-05-31 | 1 | -4/+4 |
| | |||||
* | Added --jobthing option to 'call' cmd_module. | Krzysztof A. Adamski | 2008-05-31 | 1 | -3/+13 |
| | |||||
* | Added --sort option to 'call' cmd_module. | Krzysztof A. Adamski | 2008-05-31 | 1 | -5/+12 |
| | |||||
* | Added --async option to 'call' cmd_module. | Krzysztof A. Adamski | 2008-05-31 | 1 | -0/+37 |
| | |||||
* | add "--pickle" support for dumping call data in python pickle format. | Adrian Likins | 2008-04-08 | 1 | -1/+6 |
| | |||||
* | don't use interactive mode, but print out the results directly from the "call" | Adrian Likins | 2008-04-08 | 1 | -2/+8 |
| | | | | | | | | | | commandline module. Probably needs to get revisited at some point, since being able to use the api's the cmdline module expose could be useful, and printing directly like this is a bit odd. The above changes fix --json/--raw/--xmlrpc output for "call" | ||||
* | move command.py:BaseCommand() to it's own module, base_command.py | Adrian Likins | 2008-03-28 | 6 | -20/+17 |
| | | | | | update the cmd_modules/* classes accordingly also cleanup some imports in the cmd_modules/* classes | ||||
* | add a BaseCommand class to func/overlord/command.py. | Adrian Likins | 2008-03-28 | 6 | -88/+41 |
| | | | | | | | | | | | | | This class adds data about the default settings for the Overlord class that the various cmd_module classes were hardcoding, notable DEFAULT_PORT. update all the cmd_modules/* classes to use the new BaseCommand class. Remove any DEFAULT_PORT references. Also remove the ill advised --port option some of them had, since this doesnt really make much sense. Progress on https://fedorahosted.org/func/ticket/31 | ||||
* | Changing func/func/overlord/client.py:Client() to Overlord(). Client() still | Adrian Likins | 2008-03-28 | 6 | -29/+37 |
| | | | | | | | works but will dive a deprecation warning. First pass at this refactor. I think just about everything has been updated, but some questions remain. Like if client.py needs a name change. | ||||
* | missed some bits in the certmaster/func conversion. Use MinionConfig instead | Adrian Likins | 2008-03-04 | 1 | -5/+5 |
| | | | | of FuncdConfig | ||||
* | make "make clean" even cleanier. | Adrian Likins | 2008-03-04 | 1 | -0/+17 |
| | | | | try to hit up more of the subdirs, etc, when running "make clean" | ||||
* | using the wrong path to minion.conf, update | Adrian Likins | 2008-02-29 | 1 | -2/+2 |
| | |||||
* | Fixing func "*" ping functionality, which had an earlier reference to ↵ | Michael DeHaan | 2008-02-21 | 2 | -7/+28 |
| | | | | expand_servers that is no longer supported. To do this, I've exposed an additional method in the client.minions() API. Also some more work done on func "check" command to diagnose setup problems. | ||||
* | initial work on "func '*' check" command for diagnosing basic setup problems, | Michael DeHaan | 2008-02-21 | 3 | -2/+125 |
| | | | | still more to do. | ||||
* | Fix minion listing | Michael DeHaan | 2008-02-19 | 1 | -5/+8 |
| | |||||
* | Our client.command.Command class looks for 'usage', not 'useage' | Luke Macken | 2008-01-14 | 5 | -6/+6 |
| | |||||
* | more deletions of shebangs. | Steve 'Ashcrow' Milner | 2008-01-13 | 3 | -7/+0 |
| | |||||
* | removed a lot of misplaced shebangs. | Steve 'Ashcrow' Milner | 2008-01-13 | 2 | -11/+2 |
| | |||||
* | Applied James Anthill's patch to generalize "show" features, plus a release | Michael DeHaan | 2007-12-11 | 1 | -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 DeHaan | 2007-11-30 | 1 | -4/+14 |
| | | | | 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). | ||||
* | Slight changes to make it easier to establish seperate client handles to all ↵ | Michael DeHaan | 2007-10-25 | 1 | -11/+16 |
| | | | | | | | | | | 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 DeHaan | 2007-10-25 | 1 | -0/+70 |
| | | | | | | | | | 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 DeHaan | 2007-10-25 | 1 | -6/+13 |
| | | | | | | raw output that just uses Python print. | ||||
* | change copyfile cmd line to transmit file contents as binary blobs | Adrian Likins | 2007-10-24 | 1 | -2/+2 |
| | | | | | change copyfile minion module to accept blobs, add checksum_blob for doing plain blobs |